aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_lowlevel.h
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2019-01-21 20:10:10 +0000
committerNikolaus Rath <Nikolaus@rath.org>2019-01-21 20:10:10 +0000
commit1a7399a216e427dbf26bedcbbcbdc5e9c5650fe5 (patch)
tree582a22d98a7f2b917e00f166ac3f443b19b4c479 /include/fuse_lowlevel.h
parentb19748173889580ca3966439f82eb8f2c6512c41 (diff)
downloadlibfuse-1a7399a216e427dbf26bedcbbcbdc5e9c5650fe5.tar.gz
Clarify documentation of fuse_lowlevel_inval_inode
Fixes: #341.
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r--include/fuse_lowlevel.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index 12e3946..7922d67 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -1590,14 +1590,14 @@ int fuse_lowlevel_notify_inval_inode(struct fuse_session *se, fuse_ino_t ino,
* Notify to invalidate parent attributes and the dentry matching
* parent/name
*
- * To avoid a deadlock this function must not be called while
- * executing a related filesytem operation or while holding a lock
- * that could be needed to execute such an operation. As of kernel
- * 4.18, a "related operation" is a lookup(), symlink(), mknod(),
- * mkdir(), unlink(), rename(), link() or create() request for the
- * parent, and a setattr(), unlink(), rmdir(), rename(), setxattr(),
- * removexattr(), readdir() or readdirplus() request for the inode
- * itself.
+ * To avoid a deadlock this function must not be called in the
+ * execution path of a related filesytem operation or within any code
+ * that could hold a lock that could be needed to execute such an
+ * operation. As of kernel 4.18, a "related operation" is a lookup(),
+ * symlink(), mknod(), mkdir(), unlink(), rename(), link() or create()
+ * request for the parent, and a setattr(), unlink(), rmdir(),
+ * rename(), setxattr(), removexattr(), readdir() or readdirplus()
+ * request for the inode itself.
*
* When called correctly, this function will never block.
*