diff options
Diffstat (limited to 'include/linux/kernfs.h')
-rw-r--r-- | include/linux/kernfs.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h index ca1be5c9136c..52bf5677db0b 100644 --- a/include/linux/kernfs.h +++ b/include/linux/kernfs.h | |||
@@ -297,8 +297,8 @@ void kernfs_notify(struct kernfs_node *kn); | |||
297 | 297 | ||
298 | const void *kernfs_super_ns(struct super_block *sb); | 298 | const void *kernfs_super_ns(struct super_block *sb); |
299 | struct dentry *kernfs_mount_ns(struct file_system_type *fs_type, int flags, | 299 | struct dentry *kernfs_mount_ns(struct file_system_type *fs_type, int flags, |
300 | struct kernfs_root *root, bool *new_sb_created, | 300 | struct kernfs_root *root, unsigned long magic, |
301 | const void *ns); | 301 | bool *new_sb_created, const void *ns); |
302 | void kernfs_kill_sb(struct super_block *sb); | 302 | void kernfs_kill_sb(struct super_block *sb); |
303 | 303 | ||
304 | void kernfs_init(void); | 304 | void kernfs_init(void); |
@@ -391,7 +391,8 @@ static inline const void *kernfs_super_ns(struct super_block *sb) | |||
391 | 391 | ||
392 | static inline struct dentry * | 392 | static inline struct dentry * |
393 | kernfs_mount_ns(struct file_system_type *fs_type, int flags, | 393 | kernfs_mount_ns(struct file_system_type *fs_type, int flags, |
394 | struct kernfs_root *root, bool *new_sb_created, const void *ns) | 394 | struct kernfs_root *root, unsigned long magic, |
395 | bool *new_sb_created, const void *ns) | ||
395 | { return ERR_PTR(-ENOSYS); } | 396 | { return ERR_PTR(-ENOSYS); } |
396 | 397 | ||
397 | static inline void kernfs_kill_sb(struct super_block *sb) { } | 398 | static inline void kernfs_kill_sb(struct super_block *sb) { } |
@@ -449,9 +450,11 @@ static inline int kernfs_rename(struct kernfs_node *kn, | |||
449 | 450 | ||
450 | static inline struct dentry * | 451 | static inline struct dentry * |
451 | kernfs_mount(struct file_system_type *fs_type, int flags, | 452 | kernfs_mount(struct file_system_type *fs_type, int flags, |
452 | struct kernfs_root *root, bool *new_sb_created) | 453 | struct kernfs_root *root, unsigned long magic, |
454 | bool *new_sb_created) | ||
453 | { | 455 | { |
454 | return kernfs_mount_ns(fs_type, flags, root, new_sb_created, NULL); | 456 | return kernfs_mount_ns(fs_type, flags, root, |
457 | magic, new_sb_created, NULL); | ||
455 | } | 458 | } |
456 | 459 | ||
457 | #endif /* __LINUX_KERNFS_H */ | 460 | #endif /* __LINUX_KERNFS_H */ |