diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-10-19 16:50:55 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:42 +0100 |
commit | c52cc7b7acfb3290a0268538b82ac7cf18df7ca4 (patch) | |
tree | a156dd94c88b3c1cf3e04a70fd86585923bfda70 /fs/btrfs/disk-io.c | |
parent | btrfs: move fs_info::flags enum to fs.h (diff) | |
download | linux-c52cc7b7acfb3290a0268538b82ac7cf18df7ca4.tar.xz linux-c52cc7b7acfb3290a0268538b82ac7cf18df7ca4.zip |
btrfs: add a BTRFS_FS_NEED_TRANS_COMMIT flag
Currently we are only using fs_info->pending_changes to indicate that we
need a transaction commit. The original users for this were removed
years ago and we don't have more usage in sight, so this is the only
remaining reason to have this field. Add a flag so we can remove this
code.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
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/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions