aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/topology.c
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 /drivers/base/topology.c
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 'drivers/base/topology.c')
0 files changed, 0 insertions, 0 deletions