diff options
author | NeilBrown | 2007-07-17 13:06:12 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-07-17 19:23:15 +0200 |
commit | f0d76d70bc77b9b11256a3a23e98e80878be1578 (patch) | |
tree | abf9e37302ce587c8c62e430aaf9f004548e653c /drivers/md/raid6test | |
parent | md: improve the is_mddev_idle test fix (diff) | |
download | kernel-qcow2-linux-f0d76d70bc77b9b11256a3a23e98e80878be1578.tar.gz kernel-qcow2-linux-f0d76d70bc77b9b11256a3a23e98e80878be1578.tar.xz kernel-qcow2-linux-f0d76d70bc77b9b11256a3a23e98e80878be1578.zip |
md: check that internal bitmap does not overlap other data
We current completely trust user-space to set up metadata describing an
consistant array. In particlar, that the metadata, data, and bitmap do not
overlap.
But userspace can be buggy, and it is better to report an error than corrupt
data. So put in some appropriate checks.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/raid6test')
0 files changed, 0 insertions, 0 deletions