]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/kernfs.h
kernfs: invoke dir_ops while holding active ref of the target node
[karo-tx-linux.git] / include / linux / kernfs.h
index 02ac334358081e443e7f1f78e387bd7b91d3c5f3..58a131ddc6a3b1c5120f7750a772ce0dc20e5ac9 100644 (file)
@@ -111,7 +111,8 @@ struct kernfs_node {
  * kernfs_dir_ops may be specified on kernfs_create_root() to support
  * directory manipulation syscalls.  These optional callbacks are invoked
  * on the matching syscalls and can perform any kernfs operations which
- * don't necessarily have to be the exact operation requested.
+ * don't necessarily have to be the exact operation requested.  An active
+ * reference is held for each kernfs_node parameter.
  */
 struct kernfs_dir_ops {
        int (*mkdir)(struct kernfs_node *parent, const char *name,