xfs: convert "skip_discard" to a proper flags bitset
Convert the boolean to skip discard on free into a proper flags field so that we can add more flags in the next patch. Signed-off-by:Darrick J. Wong <djwong@kernel.org> Reviewed-by:
Christoph Hellwig <hch@lst.de>
Showing
- fs/xfs/libxfs/xfs_ag.c 1 addition, 1 deletionfs/xfs/libxfs/xfs_ag.c
- fs/xfs/libxfs/xfs_alloc.c 7 additions, 6 deletionsfs/xfs/libxfs/xfs_alloc.c
- fs/xfs/libxfs/xfs_alloc.h 7 additions, 2 deletionsfs/xfs/libxfs/xfs_alloc.h
- fs/xfs/libxfs/xfs_bmap.c 8 additions, 4 deletionsfs/xfs/libxfs/xfs_bmap.c
- fs/xfs/libxfs/xfs_bmap_btree.c 1 addition, 1 deletionfs/xfs/libxfs/xfs_bmap_btree.c
- fs/xfs/libxfs/xfs_ialloc.c 2 additions, 3 deletionsfs/xfs/libxfs/xfs_ialloc.c
- fs/xfs/libxfs/xfs_ialloc_btree.c 1 addition, 1 deletionfs/xfs/libxfs/xfs_ialloc_btree.c
- fs/xfs/libxfs/xfs_refcount.c 3 additions, 3 deletionsfs/xfs/libxfs/xfs_refcount.c
- fs/xfs/libxfs/xfs_refcount_btree.c 1 addition, 1 deletionfs/xfs/libxfs/xfs_refcount_btree.c
- fs/xfs/scrub/newbt.c 3 additions, 2 deletionsfs/xfs/scrub/newbt.c
- fs/xfs/scrub/reap.c 4 additions, 3 deletionsfs/xfs/scrub/reap.c
- fs/xfs/xfs_reflink.c 1 addition, 1 deletionfs/xfs/xfs_reflink.c
Please register or sign in to comment