Skip to content
Commit 2bd6efad authored by Alan Cox's avatar Alan Cox Committed by Jens Axboe
Browse files

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: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 97651ea6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment