On Fri, Jan 30, 2026 at 4:41 PM Darrick J. Wong <[email protected]> wrote:
>
> On Fri, Jan 30, 2026 at 02:53:13PM -0800, Joanne Koong wrote:
> > On Sun, Jan 18, 2026 at 2:35 PM John Groves <[email protected]> wrote:
> > >
> > > From: John Groves <[email protected]>
> > >
> > > This is copied from include/uapi/linux/fuse.h in 6.19 with no changes.
> > >
> > > Signed-off-by: John Groves <[email protected]>
> >
> > This LGTM. We could probably just merge this in already.
> >
> > Reviewed-by: Joanne Koong <[email protected]>
> >
> > > ---
> > > 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,
>
> This insertion ought to preserve FUSE_NOTIFY_CODE_MAX, right?
FUSE_NOTIFY_CODE_MAX was removed by Miklos in commit 0a0fdb98d16e3.
Thanks,
Joanne
>
> --D
>
> > > };
> > >
> > > /* 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
> > >