fsnotify: introduce fsnotify_get_group()
[firefly-linux-kernel-4.4.55.git] / include / linux / fsnotify_backend.h
index d2ad345bdeec55629d324681fc95072595036714..e76cef75295ddc4dc75b1b5d44d46d2b7db736f6 100644 (file)
@@ -360,8 +360,10 @@ static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode
 
 /* called from fsnotify listeners, such as fanotify or dnotify */
 
-/* get a reference to an existing or create a new group */
+/* create a new group */
 extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops);
+/* get reference to a group */
+extern void fsnotify_get_group(struct fsnotify_group *group);
 /* drop reference on a group from fsnotify_alloc_group */
 extern void fsnotify_put_group(struct fsnotify_group *group);
 /* destroy group */