diff options
| author | Miklos Szeredi <mszeredi@redhat.com> | 2026-09-21 10:47:32 +0200 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-10-19 14:56:24 +0200 |
| commit | c712cd3625960e0bf233700f486bd34c27df2be4 (patch) | |
| tree | 500702439015fe2514711057cfaaf9eac9debe7a /include/uapi/linux | |
| parent | 2f19d54c055d7db0fd78db638fd746efca4d5115 (diff) | |
fuse: support opening 64 bit backing ID
Add backing_id_64 field to fuse_open_out to allow opening files with
64-bit server-allocated backing IDs.
If the connection was initialized with FUSE_PASSTHROUGH_V2, the kernel
reads the backing ID from open_out.backing_id_64 instead of
open_out.backing_id.
The open reply is now variable-length for backward compatibility with
servers that don't send the new backing_id_64 field.
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/fuse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/fuse.h b/include/uapi/linux/fuse.h index 37c83c54d960..90e0a9be7df0 100644 --- a/include/uapi/linux/fuse.h +++ b/include/uapi/linux/fuse.h @@ -254,6 +254,7 @@ * - add FUSE_PASSTHROUGH_V2 * - add FUSE_DEV_IOC_BACKING_CREATE, struct fuse_backing_create_in * - add FUSE_NOTIFY_BACKING_REMOVE, struct fuse_notify_backing_remove_out + * - add backing_id_64 to fuse_open_out */ #ifndef _LINUX_FUSE_H @@ -841,6 +842,7 @@ struct fuse_open_out { uint64_t fh; uint32_t open_flags; int32_t backing_id; + uint64_t backing_id_64; }; struct fuse_release_in { |
