diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-02 23:09:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-02 23:09:08 -0500 |
commit | 13df7977431e3b906a23bb75f29e0f40a8d73f87 (patch) | |
tree | bc2c78c3b816a65f90c31cccebdc15b38352c045 /include/linux/kernfs.h | |
parent | 6d8b3e1ad3d3815d9c87b8553493301e243af76a (diff) | |
parent | 0414855fdc4a40da05221fc6062cccbc0c30f169 (diff) |
Merge 3.14-rc5 into driver-core-next
We want the fixes in here.
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 */ |