]> 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>
Thu, 4 Oct 2012 13:40:05 +0000 (09:40 -0400)
commita0a58775c1aaf9307c2ff2812d7e1cd9cedea81a
tree6d7699d42306b6921ec7ac38aece4a279743601a
parentb4a7de103776f329acbabc8b309f7a019c4abd4b
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