diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-05-15 07:48:25 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-06-14 11:29:44 -0400 |
commit | ac6738792fe4478df2da9c1f41e3540e9ef79604 (patch) | |
tree | a10be3006879d4d50438dc9f332e6bd5548209be /fs/bad_inode.c | |
parent | 6a03843df4d29593912e558c72a2ce39274d2366 (diff) |
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 <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions