diff options
author | Alan Cox <alan@linux.intel.com> | 2012-09-17 11:47:13 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-09-18 11:56:29 +0200 |
commit | 2bd6efad25d7c1950008e2ab4e2d6796001919fc (patch) | |
tree | 408c87e0808e9b4ad4c8f9d95063c89d50350545 /drivers/block/cciss_scsi.c | |
parent | 97651ea687d3b6a214c32b49f79523db709fba18 (diff) |
blk: add an upper sanity check on partition adding
65536 should be ludicrous anyway but without it we overflow the
memory computation doing the allocation and badness occurs.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/cciss_scsi.c')
0 files changed, 0 insertions, 0 deletions