Btrfs: cleanup unnecessary clear when freeing a transaction or a trans handle
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 15 Nov 2012 08:14:11 +0000 (08:14 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 14:36:35 +0000 (09:36 -0500)
commit7b5a1c5310a50abc96c9ca07039688027d0a4282
tree7d6c7ddc1f24ac56af6b96ed833874bab2fcdf0e
parent78a6184a3ff9041280ee56273c01e5679a831b39
Btrfs: cleanup unnecessary clear when freeing a transaction or a trans handle

We clear the transaction object and the trans handle when they are about to be
freed, it is unnecessary, cleanup it.

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