[PATCH] devfs: Remove devfs_mk_dir() function from the kernel tree
Removes the devfs_mk_dir() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@ -68,7 +68,6 @@ static int dm_hash_init(void)
|
||||
{
|
||||
init_buckets(_name_buckets);
|
||||
init_buckets(_uuid_buckets);
|
||||
devfs_mk_dir(DM_DIR);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -5553,7 +5553,6 @@ static int __init md_init(void)
|
||||
unregister_blkdev(MAJOR_NR, "md");
|
||||
return -1;
|
||||
}
|
||||
devfs_mk_dir("md");
|
||||
blk_register_region(MKDEV(MAJOR_NR, 0), MAX_MD_DEVS, THIS_MODULE,
|
||||
md_probe, NULL, NULL);
|
||||
blk_register_region(MKDEV(mdp_major, 0), MAX_MD_DEVS<<MdpMinorShift, THIS_MODULE,
|
||||
|
Reference in New Issue
Block a user