diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 21:15:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 12:25:06 -0700 |
commit | 95dc112a5770dc670a1b45a3d9ee346fdd2b2697 (patch) | |
tree | 899cd99bdc928ade94ddc7b003b0de7d275cac48 /mm | |
parent | 0e6c62da7cd929b0389fc4a7e41464bb738647dc (diff) | |
download | op-kernel-dev-95dc112a5770dc670a1b45a3d9ee346fdd2b2697.zip op-kernel-dev-95dc112a5770dc670a1b45a3d9ee346fdd2b2697.tar.gz |
[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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 4 | ||||
-rw-r--r-- | mm/tiny-shmem.c | 3 |
2 files changed, 1 insertions, 6 deletions
@@ -2252,9 +2252,7 @@ static int __init init_tmpfs(void) printk(KERN_ERR "Could not register tmpfs\n"); goto out2; } -#ifdef CONFIG_TMPFS - devfs_mk_dir("shm"); -#endif + shm_mnt = vfs_kern_mount(&tmpfs_fs_type, MS_NOUSER, tmpfs_fs_type.name, NULL); if (IS_ERR(shm_mnt)) { diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index f9d6a9c..11ab99b 100644 --- a/mm/tiny-shmem.c +++ b/mm/tiny-shmem.c @@ -33,9 +33,6 @@ static int __init init_tmpfs(void) { BUG_ON(register_filesystem(&tmpfs_fs_type) != 0); -#ifdef CONFIG_TMPFS - devfs_mk_dir("shm"); -#endif shm_mnt = kern_mount(&tmpfs_fs_type); BUG_ON(IS_ERR(shm_mnt)); |