Thread (80 messages) 80 messages, 11 authors, 2026-04-28

Re: [PATCH V7 1/3] fuse_kernel.h: bring up to baseline 6.19

From: Joanne Koong <joannelkoong@gmail.com>
Date: 2026-01-30 22:53:25
Also in: linux-cxl, linux-fsdevel, lkml, nvdimm

On Sun, Jan 18, 2026 at 2:35 PM John Groves [off-list ref] wrote:
From: John Groves <john@groves.net>

This is copied from include/uapi/linux/fuse.h in 6.19 with no changes.

Signed-off-by: John Groves <john@groves.net>
This LGTM. We could probably just merge this in already.

Reviewed-by: Joanne Koong <joannelkoong@gmail.com>
quoted hunk ↗ jump to hunk
---
 include/fuse_kernel.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h
index 94621f6..c13e1f9 100644
--- a/include/fuse_kernel.h
+++ b/include/fuse_kernel.h
@@ -239,6 +239,7 @@
  *  7.45
  *  - add FUSE_COPY_FILE_RANGE_64
  *  - add struct fuse_copy_file_range_out
+ *  - add FUSE_NOTIFY_PRUNE
  */

 #ifndef _LINUX_FUSE_H
@@ -680,7 +681,7 @@ enum fuse_notify_code {
        FUSE_NOTIFY_DELETE = 6,
        FUSE_NOTIFY_RESEND = 7,
        FUSE_NOTIFY_INC_EPOCH = 8,
-       FUSE_NOTIFY_CODE_MAX,
+       FUSE_NOTIFY_PRUNE = 9,
 };

 /* The read buffer is required to be at least 8k, but may be much larger */
@@ -1119,6 +1120,12 @@ struct fuse_notify_retrieve_in {
        uint64_t        dummy4;
 };

+struct fuse_notify_prune_out {
+       uint32_t        count;
+       uint32_t        padding;
+       uint64_t        spare;
+};
+
 struct fuse_backing_map {
        int32_t         fd;
        uint32_t        flags;
@@ -1131,6 +1138,7 @@ struct fuse_backing_map {
 #define FUSE_DEV_IOC_BACKING_OPEN      _IOW(FUSE_DEV_IOC_MAGIC, 1, \
                                             struct fuse_backing_map)
 #define FUSE_DEV_IOC_BACKING_CLOSE     _IOW(FUSE_DEV_IOC_MAGIC, 2, uint32_t)
+#define FUSE_DEV_IOC_SYNC_INIT         _IO(FUSE_DEV_IOC_MAGIC, 3)

 struct fuse_lseek_in {
        uint64_t        fh;
--
2.52.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help