diff options
author | NeilBrown <neilb@suse.de> | 2006-10-30 22:07:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-31 08:07:01 -0800 |
commit | 5ddfe9691c91a244e8d1be597b6428fcefd58103 (patch) | |
tree | d051fd7c370a7b8ad91f24c6f99f985b8b1252b2 /fs/hfs/brec.c | |
parent | 45ec4ababe999cb95f9c0cad03b2689cb0b77a2b (diff) | |
download | kernel_samsung_aries-5ddfe9691c91a244e8d1be597b6428fcefd58103.zip kernel_samsung_aries-5ddfe9691c91a244e8d1be597b6428fcefd58103.tar.gz kernel_samsung_aries-5ddfe9691c91a244e8d1be597b6428fcefd58103.tar.bz2 |
[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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/hfs/brec.c')
0 files changed, 0 insertions, 0 deletions