From 1a7399a216e427dbf26bedcbbcbdc5e9c5650fe5 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Mon, 21 Jan 2019 20:10:10 +0000 Subject: [PATCH] Clarify documentation of fuse_lowlevel_inval_inode Fixes: #341. --- include/fuse_lowlevel.h | 16 ++++++++-------- 1 file 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. * -- 2.30.2