|
@@ -249,7 +249,8 @@ void kernfs_notify(struct kernfs_node *kn);
|
|
|
|
|
|
const void *kernfs_super_ns(struct super_block *sb);
|
|
const void *kernfs_super_ns(struct super_block *sb);
|
|
struct dentry *kernfs_mount_ns(struct file_system_type *fs_type, int flags,
|
|
struct dentry *kernfs_mount_ns(struct file_system_type *fs_type, int flags,
|
|
- struct kernfs_root *root, const void *ns);
|
|
|
|
|
|
+ struct kernfs_root *root, bool *new_sb_created,
|
|
|
|
+ const void *ns);
|
|
void kernfs_kill_sb(struct super_block *sb);
|
|
void kernfs_kill_sb(struct super_block *sb);
|
|
|
|
|
|
void kernfs_init(void);
|
|
void kernfs_init(void);
|
|
@@ -317,7 +318,7 @@ static inline const void *kernfs_super_ns(struct super_block *sb)
|
|
|
|
|
|
static inline struct dentry *
|
|
static inline struct dentry *
|
|
kernfs_mount_ns(struct file_system_type *fs_type, int flags,
|
|
kernfs_mount_ns(struct file_system_type *fs_type, int flags,
|
|
- struct kernfs_root *root, const void *ns)
|
|
|
|
|
|
+ struct kernfs_root *root, bool *new_sb_created, const void *ns)
|
|
{ return ERR_PTR(-ENOSYS); }
|
|
{ return ERR_PTR(-ENOSYS); }
|
|
|
|
|
|
static inline void kernfs_kill_sb(struct super_block *sb) { }
|
|
static inline void kernfs_kill_sb(struct super_block *sb) { }
|
|
@@ -368,9 +369,9 @@ static inline int kernfs_remove_by_name(struct kernfs_node *parent,
|
|
|
|
|
|
static inline struct dentry *
|
|
static inline struct dentry *
|
|
kernfs_mount(struct file_system_type *fs_type, int flags,
|
|
kernfs_mount(struct file_system_type *fs_type, int flags,
|
|
- struct kernfs_root *root)
|
|
|
|
|
|
+ struct kernfs_root *root, bool *new_sb_created)
|
|
{
|
|
{
|
|
- return kernfs_mount_ns(fs_type, flags, root, NULL);
|
|
|
|
|
|
+ return kernfs_mount_ns(fs_type, flags, root, new_sb_created, NULL);
|
|
}
|
|
}
|
|
|
|
|
|
#endif /* __LINUX_KERNFS_H */
|
|
#endif /* __LINUX_KERNFS_H */
|