diff options
author | David Sterba <dsterba@suse.com> | 2018-07-24 11:19:48 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 07:12:59 -0400 |
commit | b5851021f1ea0e099543fa125744368de7e9b865 (patch) | |
tree | 4ecf6f2eda065c8e0f002e1733e9f44230bd071d | |
parent | 46b2f4590aab71d31088a265c86026b1e96c9de4 (diff) |
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>
-rw-r--r-- | fs/btrfs/extent-tree.c | 3 |
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 { | |||
8330 | int keep_locks; | 8330 | int keep_locks; |
8331 | int reada_slot; | 8331 | int reada_slot; |
8332 | int reada_count; | 8332 | int reada_count; |
8333 | int for_reloc; | ||
8334 | }; | 8333 | }; |
8335 | 8334 | ||
8336 | #define DROP_REFERENCE 1 | 8335 | #define DROP_REFERENCE 1 |
@@ -8967,7 +8966,6 @@ int btrfs_drop_snapshot(struct btrfs_root *root, | |||
8967 | wc->stage = DROP_REFERENCE; | 8966 | wc->stage = DROP_REFERENCE; |
8968 | wc->update_ref = update_ref; | 8967 | wc->update_ref = update_ref; |
8969 | wc->keep_locks = 0; | 8968 | wc->keep_locks = 0; |
8970 | wc->for_reloc = for_reloc; | ||
8971 | wc->reada_count = BTRFS_NODEPTRS_PER_BLOCK(fs_info); | 8969 | wc->reada_count = BTRFS_NODEPTRS_PER_BLOCK(fs_info); |
8972 | 8970 | ||
8973 | while (1) { | 8971 | while (1) { |
@@ -9133,7 +9131,6 @@ int btrfs_drop_subtree(struct btrfs_trans_handle *trans, | |||
9133 | wc->stage = DROP_REFERENCE; | 9131 | wc->stage = DROP_REFERENCE; |
9134 | wc->update_ref = 0; | 9132 | wc->update_ref = 0; |
9135 | wc->keep_locks = 1; | 9133 | wc->keep_locks = 1; |
9136 | wc->for_reloc = 1; | ||
9137 | wc->reada_count = BTRFS_NODEPTRS_PER_BLOCK(fs_info); | 9134 | wc->reada_count = BTRFS_NODEPTRS_PER_BLOCK(fs_info); |
9138 | 9135 | ||
9139 | while (1) { | 9136 | while (1) { |