]> Pileus Git - ~andy/linux/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)
commita56dbd89400dd2cb9c91d734435dbfe059495da1
tree3ad6ef97637a4c09865d4a9f31c22472ac14f746
parent0353808cae35bc81c86e3510748a10f6bdff41b8
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