]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix a possible deadlock between scrub and transaction committing
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Wed, 19 Feb 2014 11:24:16 +0000 (19:24 +0800)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:16:52 +0000 (15:16 -0400)
commit288a52b2c133ccc65c605dc5c0a6443cd72502c6
tree28066f51e6443d9468a11e28c13dab155e239e2c
parent7e69749a53630a8f2cf931dfdcce0bacaa8ef898
Btrfs: fix a possible deadlock between scrub and transaction committing

btrfs_scrub_continue() will be called when cleaning up transaction.However,
this can only be called if btrfs_scrub_pause() is called before.

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