diff options
author | Filipe Manana <fdmanana@suse.com> | 2019-03-11 13:10:56 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:18 +0200 |
commit | 3b1da515c64e18bdd6a13348313f1168396b3722 (patch) | |
tree | c8350c2f1d95754730b82b46789c61dd10e661a5 /fs/btrfs/file.c | |
parent | b2423496a65691f94defddd42daa172824b5fd25 (diff) | |
download | linux-stable-3b1da515c64e18bdd6a13348313f1168396b3722.tar.gz linux-stable-3b1da515c64e18bdd6a13348313f1168396b3722.tar.bz2 linux-stable-3b1da515c64e18bdd6a13348313f1168396b3722.zip |
Btrfs: remove no longer used 'sync' member from transaction handle
Commit db2462a6ad3d ("btrfs: don't run delayed refs in the end transaction
logic") removed its last use, so now it does absolutely nothing, therefore
remove it.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 34fe8a58b0e9..94c1c86fd18a 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -2165,7 +2165,6 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) inode_unlock(inode); goto out; } - trans->sync = true; ret = btrfs_log_dentry_safe(trans, dentry, start, end, &ctx); if (ret < 0) { |