[PATCH] proc_mkdir() should be used to create procfs directories
A bunch of create_proc_dir_entry() calls creating directories had crept in since the last sweep; converted to proc_mkdir(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Dieser Commit ist enthalten in:

committet von
Linus Torvalds

Ursprung
ecba97d4aa
Commit
666002218d
@@ -394,7 +394,7 @@ hysdn_procconf_init(void)
|
||||
hysdn_card *card;
|
||||
uchar conf_name[20];
|
||||
|
||||
hysdn_proc_entry = create_proc_entry(PROC_SUBDIR_NAME, S_IFDIR | S_IRUGO | S_IXUGO, proc_net);
|
||||
hysdn_proc_entry = proc_mkdir(PROC_SUBDIR_NAME, proc_net);
|
||||
if (!hysdn_proc_entry) {
|
||||
printk(KERN_ERR "HYSDN: unable to create hysdn subdir\n");
|
||||
return (-1);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren