]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use scrub_pause_on/off() to reduce code in scrub_enumerate_chunks()
authorZhaolei <zhaolei@cn.fujitsu.com>
Wed, 5 Aug 2015 08:43:29 +0000 (16:43 +0800)
committerChris Mason <clm@fb.com>
Sun, 9 Aug 2015 14:07:12 +0000 (07:07 -0700)
commit399a4f16accf23d2fb0ebbded01e6035a66109f5
tree24cc15f9fb322ab0473e2d827a104a1a9e5fb07f
parentd9f162585512c54ce3757eb1cb471fae82bb61c6
btrfs: use scrub_pause_on/off() to reduce code in scrub_enumerate_chunks()

Use new intruduced scrub_pause_on/off() can make this code block
clean and more readable.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c