]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: remove btrfs_end_transaction_dmeta()
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 26 Dec 2013 05:07:04 +0000 (13:07 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:08 +0000 (13:20 -0800)
commita77b535ccf60aa8bdd122e7b69f2a75aee86cd62
tree3ad6ef97637a4c09865d4a9f31c22472ac14f746
parent7fa9a543c5613d1d512456f6bd91151706bf1606
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>
fs/btrfs/delayed-inode.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h