Allow setting of number of raw devices as a module parameter
authorJan Kara <jack@suse.cz>
Thu, 28 Apr 2011 22:24:29 +0000 (00:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 7 May 2011 00:52:31 +0000 (17:52 -0700)
commit0078bff5283d1fd6417b840eda6dab912b7a5560
tree96e3c823a7ce0be46297f52b59b6d15973a9a61b
parenta1d9a09ae8003380a7f2297ee4367947cbdf874f
Allow setting of number of raw devices as a module parameter

Allow setting of maximal number of raw devices as a module parameter. This
requires changing of static array into a vmalloced one (the array is going to
be too large for kmalloc).

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/Kconfig
drivers/char/raw.c