diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-02-05 10:41:16 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:26:51 +0200 |
commit | 92e2f7e37004115db2ba98c6999a74ff5e41c83f (patch) | |
tree | 2fbb0d414ad8791c7b09e9435b82b038a930a13e /fs/btrfs/extent-tree.c | |
parent | bcf3a3e7fb55f9238bc848147316317d099c2048 (diff) | |
download | linux-92e2f7e37004115db2ba98c6999a74ff5e41c83f.tar.bz2 |
btrfs: Remove btrfs_fs_info::open_ioctl_trans
Since userspace transaction have been removed we no longer have use
for this field so delete it.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 2760292e1175..1469117a8e37 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -4338,8 +4338,7 @@ again: /* commit the current transaction and try again */ commit_trans: - if (need_commit && - !atomic_read(&fs_info->open_ioctl_trans)) { + if (need_commit) { need_commit--; if (need_commit > 0) { |