diff options
author | 2025-01-09 11:24:40 +0100 | |
---|---|---|
committer | 2025-01-13 14:53:23 +0100 | |
commit | db9eef2ea8633714ccdcb224f13ca3f3b5ed62cc (patch) | |
tree | 443c52281b243c493b2e6993798b563edadbbf24 | |
parent | btrfs: unwrap folio locking helpers (diff) | |
download | wireguard-linux-db9eef2ea8633714ccdcb224f13ca3f3b5ed62cc.tar.xz wireguard-linux-db9eef2ea8633714ccdcb224f13ca3f3b5ed62cc.zip |
btrfs: remove unused define WAIT_PAGE_LOCK for extent io
Last use was in the readahead code that got removed by f26c9238602856
("btrfs: remove reada infrastructure").
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/extent_io.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 986f15022fef..ca09fc31e2de 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -263,7 +263,6 @@ void free_extent_buffer(struct extent_buffer *eb); void free_extent_buffer_stale(struct extent_buffer *eb); #define WAIT_NONE 0 #define WAIT_COMPLETE 1 -#define WAIT_PAGE_LOCK 2 int read_extent_buffer_pages(struct extent_buffer *eb, int wait, int mirror_num, const struct btrfs_tree_parent_check *parent_check); static inline void wait_on_extent_buffer_writeback(struct extent_buffer *eb) |