diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2011-05-14 00:12:48 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-16 14:25:28 -0400 |
commit | 011159a0a746e03ae42d559ce5c2a70138da3129 (patch) | |
tree | c91c05bd65fc32dde3cdb07933e07d2ba92b6d72 /fs/proc | |
parent | 9368a9a2378ab721f82f59430a135b4ce4ff5109 (diff) | |
download | kernel_goldelico_gta04-011159a0a746e03ae42d559ce5c2a70138da3129.zip kernel_goldelico_gta04-011159a0a746e03ae42d559ce5c2a70138da3129.tar.gz kernel_goldelico_gta04-011159a0a746e03ae42d559ce5c2a70138da3129.tar.bz2 |
airo: correct proc entry creation interfaces
* use proc_mkdir_mode() instead of create_proc_entry(S_IFDIR|...),
export proc_mkdir_mode() for that, oh well.
* don't supply S_IFREG to proc_create_data(), it's unnecessary
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/generic.c b/fs/proc/generic.c index f128133..f1637f1 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c @@ -674,6 +674,7 @@ struct proc_dir_entry *proc_mkdir_mode(const char *name, mode_t mode, } return ent; } +EXPORT_SYMBOL(proc_mkdir_mode); struct proc_dir_entry *proc_net_mkdir(struct net *net, const char *name, struct proc_dir_entry *parent) |