summaryrefslogtreecommitdiff
path: root/lib/errno.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-10-31 12:51:45 +1100
committerChris Wright <chrisw@sous-sol.org>2006-11-03 17:33:50 -0800
commit3b076a9455026e5d736aeff6ca02a95972dff417 (patch)
tree648b2528ab11d9a929565a048930f1135114015b /lib/errno.c
parentd0239f35c7ae63dbe715b1cc66e4860c2cb33154 (diff)
[PATCH] md: check bio address after mapping through partitions.
Partitions are not limited to live within a device. So we should range check after partition mapping. Note that 'maxsector' was being used for two different things. I have split off the second usage into 'old_sector' so that maxsector can be still be used for it's primary usage later in the function. Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'lib/errno.c')
0 files changed, 0 insertions, 0 deletions