Wrong request_module line in genhd.c
PATCH 1/1 Wrong request_module line in genhd.c
This one was missed somehow. Fixes autoloading of loop devices.
Cheers,
Rusty.
Name: Block Alias Fix in genhd.c
Author: Rusty Russell
Status: Trivial
D: MODULE_ALIAS_BLOCK and genhd.c's request_module() don't match,
D: which breaks autoloading of loop devices.
drivers/block/genhd.c +1 -1
@@ -296,7 +296,7 @@ extern int blk_dev_init(void);static struct kobject *base_probe (dev_t dev,int *part,void *data) { -request_module ("block-major-%d" ,MAJOR (dev)); +request_module ("block-major-%d-%d" ,MAJOR (dev),MINOR (dev));return NULL ; }
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.