]> 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)
commitd31d2077a2c2f6da5565127cb2b622a4b0e273e2
tree24cc15f9fb322ab0473e2d827a104a1a9e5fb07f
parent76e1603118ecc02d1411902c6590dd5d88236447
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