forked from Mirrors/btrfs-progs
btrfs-progs: check: Remove ext_ref local variable from check_fs_roots_lowmem
All real consumers of that variable have inlined the checks since they are simple enough. So just remove it. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>master
parent
03b6929079
commit
5a621e039e
|
@ -4852,13 +4852,10 @@ int check_fs_roots_lowmem(struct btrfs_fs_info *fs_info)
|
|||
struct btrfs_path path;
|
||||
struct btrfs_key key;
|
||||
struct extent_buffer *node;
|
||||
unsigned int ext_ref;
|
||||
int slot;
|
||||
int ret;
|
||||
int err = 0;
|
||||
|
||||
ext_ref = btrfs_fs_incompat(fs_info, EXTENDED_IREF);
|
||||
|
||||
btrfs_init_path(&path);
|
||||
key.objectid = BTRFS_FS_TREE_OBJECTID;
|
||||
key.offset = 0;
|
||||
|
|
Loading…
Reference in New Issue