]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 1 Oct 2012 19:19:34 +0000 (15:19 -0400)
commit378bc3c66712026a7dcf045996c234f664ec1ba4
treea65e89e6396513741aaff3ed2e9cc627c33728f0
parent97fcbd68437b163707aaaafdd440c07ee3821bc8
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