]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add a type field for the transaction handle
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 20 Sep 2012 07:51:59 +0000 (01:51 -0600)
committerChris Mason <chris.mason@fusionio.com>
Tue, 9 Oct 2012 13:15:38 +0000 (09:15 -0400)
commit103a1648987435ef2e9e63684f49ba3b42def85d
treebf54f9bcd6941a459be5aeaf22299547c693c0aa
parent86c51e33f9ca266e27d6ec8802ffb773b652d987
Btrfs: add a type field for the transaction handle

This patch add a type field into the transaction handle structure,
in this way, we needn't implement various end-transaction functions
and can make the code more simple and readable.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/inode.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h