diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/proc_fs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index acaafcd40aa5..9014c041e752 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
@@ -174,6 +174,7 @@ extern struct proc_dir_entry *proc_net_mkdir(struct net *net, const char *name, | |||
174 | struct proc_dir_entry *parent); | 174 | struct proc_dir_entry *parent); |
175 | 175 | ||
176 | extern struct file *proc_ns_fget(int fd); | 176 | extern struct file *proc_ns_fget(int fd); |
177 | extern bool proc_ns_inode(struct inode *inode); | ||
177 | 178 | ||
178 | #else | 179 | #else |
179 | 180 | ||
@@ -229,6 +230,11 @@ static inline struct file *proc_ns_fget(int fd) | |||
229 | return ERR_PTR(-EINVAL); | 230 | return ERR_PTR(-EINVAL); |
230 | } | 231 | } |
231 | 232 | ||
233 | static inline bool proc_ns_inode(struct inode *inode) | ||
234 | { | ||
235 | return false; | ||
236 | } | ||
237 | |||
232 | #endif /* CONFIG_PROC_FS */ | 238 | #endif /* CONFIG_PROC_FS */ |
233 | 239 | ||
234 | #if !defined(CONFIG_PROC_KCORE) | 240 | #if !defined(CONFIG_PROC_KCORE) |
@@ -252,6 +258,7 @@ extern const struct proc_ns_operations netns_operations; | |||
252 | extern const struct proc_ns_operations utsns_operations; | 258 | extern const struct proc_ns_operations utsns_operations; |
253 | extern const struct proc_ns_operations ipcns_operations; | 259 | extern const struct proc_ns_operations ipcns_operations; |
254 | extern const struct proc_ns_operations pidns_operations; | 260 | extern const struct proc_ns_operations pidns_operations; |
261 | extern const struct proc_ns_operations mntns_operations; | ||
255 | 262 | ||
256 | union proc_op { | 263 | union proc_op { |
257 | int (*proc_get_link)(struct dentry *, struct path *); | 264 | int (*proc_get_link)(struct dentry *, struct path *); |