aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sm501-regs.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2007-07-17 07:06:12 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 13:23:15 -0400
commitf0d76d70bc77b9b11256a3a23e98e80878be1578 (patch)
treeabf9e37302ce587c8c62e430aaf9f004548e653c /include/linux/sm501-regs.h
parent713f6ab18b0e7d39f14401362bfe8015b1aedde1 (diff)
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 'include/linux/sm501-regs.h')
0 files changed, 0 insertions, 0 deletions