summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2019-03-11 13:10:56 +0000
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:18 +0200
commit3b1da515c64e18bdd6a13348313f1168396b3722 (patch)
treec8350c2f1d95754730b82b46789c61dd10e661a5 /fs/btrfs/extent-tree.c
parentb2423496a65691f94defddd42daa172824b5fd25 (diff)
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/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index c5880329ae37..b0c86a817a99 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -2910,12 +2910,6 @@ static void delayed_ref_async_start(struct btrfs_work *work)
goto done;
}
- /*
- * trans->sync means that when we call end_transaction, we won't
- * wait on delayed refs
- */
- trans->sync = true;
-
/* Don't bother flushing if we got into a different transaction */
if (trans->transid > async->transid)
goto end;