xfs: remove SYNC_WAIT and SYNC_TRYLOCK
PATCH 1/1 xfs: remove SYNC_WAIT and SYNC_TRYLOCK
These two definitions are unused now.
Signed-off-by Christoph Hellwig <[email protected]>
--- fs/xfs/xfs_icache.h | 3 --- 1 file changed, 3 deletions(-)
fs/xfs/xfs_icache.h +0 -3
@@ -17,9 +17,6 @@ struct xfs_eofblocks {__u64 eof_min_file_size; }; -#define SYNC_WAIT 0x0001/* wait for i/o to complete */ -#define SYNC_TRYLOCK 0x0002/* only try to lock inodes */ -/* * tags for inode radix tree */
Signature · 1 line
2.26.2
Quoted 12 lines · Christoph Hellwig
These two definitions are unused now.
Signed-off-by Christoph Hellwig <[email protected]>--- fs/xfs/xfs_icache.h | 3 --- 1 file changed, 3 deletions(-)fs/xfs/xfs_icache.h +0
-0
fs/xfs/xfs_icache.h struct xfs_eofblocks { · line 21
Quoted 5 lines
fs/xfs/xfs_icache.h +0
-2@@ -17,9 +17,6 @@ struct xfs_eofblocks {__u64 eof_min_file_size; }; -#define SYNC_WAIT 0x0001/* wait for i/o to complete */ -#define SYNC_TRYLOCK 0x0002/* only try to lock inodes */
Oh, I didn't realise they'd been removed from the EOF block scanner. I was too busy removing them from inode reclaim to notice this had occurred.
Looks good.
Reviewed-by Dave Chinner <[email protected]>
Signature · 2 lines
Dave Chinner [email protected]
Quoted 3 lines · Christoph Hellwig
These two definitions are unused now.
Signed-off-by Christoph Hellwig<[email protected]>
Looks good to me.
Reviewed-by Chaitanya Kulkarni <[email protected]>
Quoted 3 lines · Christoph Hellwig
These two definitions are unused now.
Signed-off-by Christoph Hellwig <[email protected]>
Looks ok,
Reviewed-by Darrick J. Wong <[email protected]>
--D
Quoted 21 lines
--- fs/xfs/xfs_icache.h | 3 --- 1 file changed, 3 deletions(-)fs/xfs/xfs_icache.h +0
-3@@ -17,9 +17,6 @@ struct xfs_eofblocks {__u64 eof_min_file_size; }; -#define SYNC_WAIT 0x0001/* wait for i/o to complete */ -#define SYNC_TRYLOCK 0x0002/* only try to lock inodes */ -/* * tags for inode radix tree */ Signature · 1 line
2.26.2