aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-ref.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 11:49:40 +0100
committerDavid Sterba <dsterba@suse.com>2022-05-16 17:17:31 +0200
commit0e3696f80faab95e465e5f5fc8d80f36c46872ab (patch)
treec1e540b389e18ef071ceb9aedc2650b940647f40 /fs/btrfs/delayed-ref.h
parentbtrfs: sink parameter is_data to btrfs_set_disk_extent_flags (diff)
downloadlinux-dev-0e3696f80faab95e465e5f5fc8d80f36c46872ab.tar.xz
linux-dev-0e3696f80faab95e465e5f5fc8d80f36c46872ab.zip
btrfs: remove btrfs_delayed_extent_op::is_data
The value of btrfs_delayed_extent_op::is_data is always false, we can cascade the change and simplify code that depends on it, removing the structure member eventually. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-ref.h')
-rw-r--r--fs/btrfs/delayed-ref.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/delayed-ref.h b/fs/btrfs/delayed-ref.h
index 91a3aabad150..d6304b690ec4 100644
--- a/fs/btrfs/delayed-ref.h
+++ b/fs/btrfs/delayed-ref.h
@@ -58,7 +58,6 @@ struct btrfs_delayed_extent_op {
u8 level;
bool update_key;
bool update_flags;
- bool is_data;
u64 flags_to_set;
};