diff options
Diffstat (limited to 'include/linux/kernfs.h')
-rw-r--r-- | include/linux/kernfs.h | 9 |
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 | ||
280 | const void *kernfs_super_ns(struct super_block *sb); | 280 | const void *kernfs_super_ns(struct super_block *sb); |
281 | struct dentry *kernfs_mount_ns(struct file_system_type *fs_type, int flags, | 281 | struct 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); | ||
283 | void kernfs_kill_sb(struct super_block *sb); | 284 | void kernfs_kill_sb(struct super_block *sb); |
284 | 285 | ||
285 | void kernfs_init(void); | 286 | void kernfs_init(void); |
@@ -372,7 +373,7 @@ static inline const void *kernfs_super_ns(struct super_block *sb) | |||
372 | 373 | ||
373 | static inline struct dentry * | 374 | static inline struct dentry * |
374 | kernfs_mount_ns(struct file_system_type *fs_type, int flags, | 375 | kernfs_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 | ||
378 | static inline void kernfs_kill_sb(struct super_block *sb) { } | 379 | static inline void kernfs_kill_sb(struct super_block *sb) { } |
@@ -430,9 +431,9 @@ static inline int kernfs_rename(struct kernfs_node *kn, | |||
430 | 431 | ||
431 | static inline struct dentry * | 432 | static inline struct dentry * |
432 | kernfs_mount(struct file_system_type *fs_type, int flags, | 433 | kernfs_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 */ |