aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_kernel.h
diff options
context:
space:
mode:
authorLuis Henriques <luis@igalia.com>2025-05-22 15:15:15 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-06-18 13:47:11 +0200
commit5ceb0b05cb48e6cfa2c81160df9f1212623e86eb (patch)
tree58a2b212155964cb1dd705eed9cddd5674185130 /include/fuse_kernel.h
parent3793b1748ad151c8043dee1db198fffa3dbb5a67 (diff)
downloadlibfuse-5ceb0b05cb48e6cfa2c81160df9f1212623e86eb.tar.gz
fuse: add support to FUSE_NOTIFY_INC_EPOCH
This patch adds support for the FUSE INC_EPOCH notify. This new operation simply increments the FUSE connection epoch value, allowing to invalidate all the dentries next time they are revalidated. Signed-off-by: Luis Henriques <luis@igalia.com>
Diffstat (limited to 'include/fuse_kernel.h')
-rw-r--r--include/fuse_kernel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h
index 42db04c..122d658 100644
--- a/include/fuse_kernel.h
+++ b/include/fuse_kernel.h
@@ -232,6 +232,9 @@
*
* 7.43
* - add FUSE_REQUEST_TIMEOUT
+ *
+ * 7.44
+ * - add FUSE_NOTIFY_INC_EPOCH
*/
#ifndef _LINUX_FUSE_H
@@ -267,7 +270,7 @@
#define FUSE_KERNEL_VERSION 7
/** Minor version number of this interface */
-#define FUSE_KERNEL_MINOR_VERSION 42
+#define FUSE_KERNEL_MINOR_VERSION 44
/** The node ID of the root inode */
#define FUSE_ROOT_ID 1
@@ -671,6 +674,7 @@ enum fuse_notify_code {
FUSE_NOTIFY_RETRIEVE = 5,
FUSE_NOTIFY_DELETE = 6,
FUSE_NOTIFY_RESEND = 7,
+ FUSE_NOTIFY_INC_EPOCH = 8,
FUSE_NOTIFY_CODE_MAX,
};