diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-11-05 23:45:27 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-01-03 17:09:46 +0300 |
commit | 0af4769da6b29a5e091f3e404e8d5426bdeccac7 (patch) | |
tree | 2d322bd3d535195b949903945de31e6fca69bc28 /fs | |
parent | f1a8fc626586fcc62dd7eb44ebeddb4517784015 (diff) | |
download | linux-0af4769da6b29a5e091f3e404e8d5426bdeccac7.tar.xz |
btrfs: remove unused BTRFS_FS_BARRIER flag
This is no longer used, the -o nobarrier is handled by
BTRFS_MOUNT_NOBARRIER. Remove the flag.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/ctree.h | 1 | ||||
-rw-r--r-- | fs/btrfs/disk-io.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 004cf3f67ce5..f9e9f08175be 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -548,7 +548,6 @@ struct btrfs_swapfile_pin { bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr); enum { - BTRFS_FS_BARRIER, BTRFS_FS_CLOSING_START, BTRFS_FS_CLOSING_DONE, BTRFS_FS_LOG_RECOVERING, diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index d94a1ca856aa..de323878e85c 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -2956,7 +2956,6 @@ void btrfs_init_fs_info(struct btrfs_fs_info *fs_info) extent_io_tree_init(fs_info, &fs_info->excluded_extents, IO_TREE_FS_EXCLUDED_EXTENTS, NULL); - set_bit(BTRFS_FS_BARRIER, &fs_info->flags); mutex_init(&fs_info->ordered_operations_mutex); mutex_init(&fs_info->tree_log_mutex); |