Btrfs: cancel scrub on transaction abortion
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Wed, 19 Feb 2014 11:24:18 +0000 (19:24 +0800)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:16:54 +0000 (15:16 -0400)
commitc0af8f0b1cf7ec5cde4450be9f8bfeb8c211d40a
tree8eeabebfd1e6c6d10ae6145936052b38a22e4077
parent12cf93728dfba237b46001a95479829c7179cdc9
Btrfs: cancel scrub on transaction abortion

If we fail to commit transaction, we'd better
cancel scrub operations.

Suggested-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/transaction.c