diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-16 19:43:55 -0400 |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-23 05:27:50 -0400 |
commit | 5bcd7ff9e1690dbdbccb2a1cb3c2ea8b8381c435 (patch) | |
tree | 4655120e76654512a1229bb4af0a41fb55c23663 /fs/proc/internal.h | |
parent | 7c88db0cb589df980acfb2f73c3595a0653004ec (diff) |
proc: proc_init_inodecache() can't fail
kmem_cache creation code will panic, don't return anything.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r-- | fs/proc/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 3bfb7b8747b..d5bf4dec6b0 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h | |||
@@ -66,7 +66,7 @@ extern const struct inode_operations proc_net_inode_operations; | |||
66 | 66 | ||
67 | void free_proc_entry(struct proc_dir_entry *de); | 67 | void free_proc_entry(struct proc_dir_entry *de); |
68 | 68 | ||
69 | int proc_init_inodecache(void); | 69 | void proc_init_inodecache(void); |
70 | 70 | ||
71 | static inline struct pid *proc_pid(struct inode *inode) | 71 | static inline struct pid *proc_pid(struct inode *inode) |
72 | { | 72 | { |