]> 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)
commit6f4e832017ec52eb0700addee20e29b0d097318a
tree3ad6ef97637a4c09865d4a9f31c22472ac14f746
parent61662bbc428f51c612f82700eaaa04465bb77131
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