diff options
author | Guo Chao <yan@linux.vnet.ibm.com> | 2013-02-21 15:16:49 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-02-22 10:43:22 +0100 |
commit | b1a6650406875b9097a032eed89af50682fe1160 (patch) | |
tree | 2521139daec844942ca85e30c86c0218cc8f7a52 /MAINTAINERS | |
parent | 7b0576a3d835b4d46ed85d817ce016e90bf293a3 (diff) | |
download | linux-b1a6650406875b9097a032eed89af50682fe1160.tar.gz linux-b1a6650406875b9097a032eed89af50682fe1160.tar.bz2 linux-b1a6650406875b9097a032eed89af50682fe1160.zip |
loopdev: remove an user triggerable oops
When loopdev is built as module and we pass an invalid parameter,
loop_init() will return directly without deregister misc device, which
will cause an oops when insert loop module next time because we left some
garbage in the misc device list.
Test case:
sudo modprobe loop max_part=1024
(failed due to invalid parameter)
sudo modprobe loop
(oops)
Clean up nicely to avoid such oops.
Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Guo Chao <yan@linux.vnet.ibm.com>
Cc: M. Hindess <hindessm@uk.ibm.com>
Cc: Nikanth Karthikesan <knikanth@suse.de>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions