From: Miao Xie Date: Wed, 15 May 2013 07:48:25 +0000 (+0000) Subject: Btrfs: cleanup unnecessary assignment when cleaning up all the residual transaction X-Git-Tag: v3.11-rc1~70^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac6738792fe4478df2da9c1f41e3540e9ef79604;p=pandora-kernel.git Btrfs: cleanup unnecessary assignment when cleaning up all the residual transaction When we umount a fs with serious errors, we will invoke btrfs_cleanup_transactions() to clean up the residual transaction. At this time, It is impossible to start a new transaction, so we needn't assign trans_no_join to 1, and also needn't clear running transaction every time we destroy a residual transaction. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed