sysfs, kernfs: introduce kernfs_notify()
[deliverable/linux.git] / include / linux / kernfs.h
index ba993ebcd81ef019dda7a83bc2e7e1efb458cc53..f20796ecc76ea02ecced284c2febf0cf056eed18 100644 (file)
@@ -84,6 +84,7 @@ int kernfs_rename_ns(struct sysfs_dirent *sd, struct sysfs_dirent *new_parent,
                     const char *new_name, const void *new_ns);
 void kernfs_enable_ns(struct sysfs_dirent *sd);
 int kernfs_setattr(struct sysfs_dirent *sd, const struct iattr *iattr);
+void kernfs_notify(struct sysfs_dirent *sd);
 
 #else  /* CONFIG_SYSFS */
 
@@ -120,6 +121,8 @@ static inline int kernfs_setattr(struct sysfs_dirent *sd,
                                 const struct iattr *iattr)
 { return -ENOSYS; }
 
+static inline void kernfs_notify(struct sysfs_dirent *sd) { }
+
 #endif /* CONFIG_SYSFS */
 
 static inline struct sysfs_dirent *
This page took 0.027921 seconds and 5 git commands to generate.