commit | 0e22be890ef385de6816ec87a8a41c0b0f4a7a23 | [log] [tgz] |
---|---|---|
author | Zhaolei <zhaolei@cn.fujitsu.com> | Wed Aug 05 16:43:28 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Sun Aug 09 07:07:12 2015 -0700 |
tree | 30c5404f084d90260271db43a1e484e479d25e8c | |
parent | 868f401ae38acb439005626c04d575e64c5ae760 [diff] |
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: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>