summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-07-24 17:19:48 +0200
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:59 +0200
commitb5851021f1ea0e099543fa125744368de7e9b865 (patch)
tree4ecf6f2eda065c8e0f002e1733e9f44230bd071d /fs
parent46b2f4590aab71d31088a265c86026b1e96c9de4 (diff)
downloadlinux-b5851021f1ea0e099543fa125744368de7e9b865.tar.gz
linux-b5851021f1ea0e099543fa125744368de7e9b865.tar.bz2
linux-b5851021f1ea0e099543fa125744368de7e9b865.zip
btrfs: extent-tree: remove unused member walk_control::for_reloc
Leftover after fix e339a6b097c5 ("Btrfs: __btrfs_mod_ref should always use no_quota"), that removed it from the function calls but not the structure. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/extent-tree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 2eb2d7ac0ba4..fcaf598f4222 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -8330,7 +8330,6 @@ struct walk_control {
int keep_locks;
int reada_slot;
int reada_count;
- int for_reloc;
};
#define DROP_REFERENCE 1
@@ -8967,7 +8966,6 @@ int btrfs_drop_snapshot(struct btrfs_root *root,
wc->stage = DROP_REFERENCE;
wc->update_ref = update_ref;
wc->keep_locks = 0;
- wc->for_reloc = for_reloc;
wc->reada_count = BTRFS_NODEPTRS_PER_BLOCK(fs_info);
while (1) {
@@ -9133,7 +9131,6 @@ int btrfs_drop_subtree(struct btrfs_trans_handle *trans,
wc->stage = DROP_REFERENCE;
wc->update_ref = 0;
wc->keep_locks = 1;
- wc->for_reloc = 1;
wc->reada_count = BTRFS_NODEPTRS_PER_BLOCK(fs_info);
while (1) {