aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kernfs.h')
-rw-r--r--include/linux/kernfs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h
index 649497a56a95..09669d092748 100644
--- a/include/linux/kernfs.h
+++ b/include/linux/kernfs.h
@@ -279,7 +279,8 @@ void kernfs_notify(struct kernfs_node *kn);
279 279
280const void *kernfs_super_ns(struct super_block *sb); 280const void *kernfs_super_ns(struct super_block *sb);
281struct dentry *kernfs_mount_ns(struct file_system_type *fs_type, int flags, 281struct dentry *kernfs_mount_ns(struct file_system_type *fs_type, int flags,
282 struct kernfs_root *root, const void *ns); 282 struct kernfs_root *root, bool *new_sb_created,
283 const void *ns);
283void kernfs_kill_sb(struct super_block *sb); 284void kernfs_kill_sb(struct super_block *sb);
284 285
285void kernfs_init(void); 286void kernfs_init(void);
@@ -372,7 +373,7 @@ static inline const void *kernfs_super_ns(struct super_block *sb)
372 373
373static inline struct dentry * 374static inline struct dentry *
374kernfs_mount_ns(struct file_system_type *fs_type, int flags, 375kernfs_mount_ns(struct file_system_type *fs_type, int flags,
375 struct kernfs_root *root, const void *ns) 376 struct kernfs_root *root, bool *new_sb_created, const void *ns)
376{ return ERR_PTR(-ENOSYS); } 377{ return ERR_PTR(-ENOSYS); }
377 378
378static inline void kernfs_kill_sb(struct super_block *sb) { } 379static inline void kernfs_kill_sb(struct super_block *sb) { }
@@ -430,9 +431,9 @@ static inline int kernfs_rename(struct kernfs_node *kn,
430 431
431static inline struct dentry * 432static inline struct dentry *
432kernfs_mount(struct file_system_type *fs_type, int flags, 433kernfs_mount(struct file_system_type *fs_type, int flags,
433 struct kernfs_root *root) 434 struct kernfs_root *root, bool *new_sb_created)
434{ 435{
435 return kernfs_mount_ns(fs_type, flags, root, NULL); 436 return kernfs_mount_ns(fs_type, flags, root, new_sb_created, NULL);
436} 437}
437 438
438#endif /* __LINUX_KERNFS_H */ 439#endif /* __LINUX_KERNFS_H */