commit | 5d68da3b8ee6eb2257aa4b8d885581782278ae93 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Jul 24 11:37:07 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Tue Aug 19 08:52:17 2014 -0700 |
tree | 0656b0f5fa96f81c042467ee971a1cedeb1320f9 | |
parent | ff61d17c6324d1b483fbbc5144f09668c24ff60c [diff] |
Btrfs: don't write any data into a readonly device when scrub We should not write data into a readonly device especially seed device when doing scrub, skip those devices. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>