Skip to content
Commit 0e22be89 authored by Zhaolei's avatar Zhaolei Committed by Chris Mason
Browse files

btrfs: Separate scrub_blocked_if_needed() to scrub_pause_on/off()



It can reduce current duplicated code which is similar to
scrub_blocked_if_needed() but can not call it because little
different.
It also used by my next patch which is in same case.

Signed-off-by: default avatarZhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 868f401a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment