diff options
author | NeilBrown <neilb@suse.de> | 2007-07-17 04:06:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 10:23:15 -0700 |
commit | f0d76d70bc77b9b11256a3a23e98e80878be1578 (patch) | |
tree | abf9e37302ce587c8c62e430aaf9f004548e653c /arch/s390/lib | |
parent | 713f6ab18b0e7d39f14401362bfe8015b1aedde1 (diff) | |
download | op-kernel-dev-f0d76d70bc77b9b11256a3a23e98e80878be1578.zip op-kernel-dev-f0d76d70bc77b9b11256a3a23e98e80878be1578.tar.gz |
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 'arch/s390/lib')
0 files changed, 0 insertions, 0 deletions