]> 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)
commitcd7c58c00fbdeeda4cd97e6c18f3cde465620d3c
tree28066f51e6443d9468a11e28c13dab155e239e2c
parentca64a5a9252208b0488c79fbf984802d7c9bde2f
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