aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-12-26 00:07:04 -0500
committerChris Mason <clm@fb.com>2014-01-28 16:20:08 -0500
commita56dbd89400dd2cb9c91d734435dbfe059495da1 (patch)
tree3ad6ef97637a4c09865d4a9f31c22472ac14f746 /fs/btrfs/delayed-inode.c
parent0353808cae35bc81c86e3510748a10f6bdff41b8 (diff)
Btrfs: remove btrfs_end_transaction_dmeta()
Two reasons: - btrfs_end_transaction_dmeta() is the same as btrfs_end_transaction_throttle() so it is unnecessary. - All the delayed items should be dealt in the current transaction, so the workers should not commit the transaction, instead, deal with the delayed items as many as possible. So we can remove btrfs_end_transaction_dmeta() Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
-rw-r--r--fs/btrfs/delayed-inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c
index 6b2013403f46..826a26053c70 100644
--- a/fs/btrfs/delayed-inode.c
+++ b/fs/btrfs/delayed-inode.c
@@ -1302,7 +1302,7 @@ again:
1302 __btrfs_commit_inode_delayed_items(trans, path, delayed_node); 1302 __btrfs_commit_inode_delayed_items(trans, path, delayed_node);
1303 1303
1304 trans->block_rsv = block_rsv; 1304 trans->block_rsv = block_rsv;
1305 btrfs_end_transaction_dmeta(trans, root); 1305 btrfs_end_transaction(trans, root);
1306 btrfs_btree_balance_dirty_nodelay(root); 1306 btrfs_btree_balance_dirty_nodelay(root);
1307 1307
1308release_path: 1308release_path: