diff options
| author | Amir Goldstein <[email protected]> | 2024-02-09 17:03:55 +0200 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2024-03-05 13:40:42 +0100 |
| commit | fc8ff397b2a91590031ae08534de627f957005cb (patch) | |
| tree | 75eccaa695f54d036602532bf38b1b9911434394 /drivers/usb/cdns3/cdns3-trace.h | |
| parent | 44350256ab943d424d70aa60a34f45060b3a36e8 (diff) | |
fuse: prepare for opening file in passthrough mode
In preparation for opening file in passthrough mode, store the
fuse_open_out argument in ff->args to be passed into fuse_file_io_open()
with the optional backing_id member.
This will be used for setting up passthrough to backing file on open
reply with FOPEN_PASSTHROUGH flag and a valid backing_id.
Opening a file in passthrough mode may fail for several reasons, such as
missing capability, conflicting open flags or inode in caching mode.
Return EIO from fuse_file_io_open() in those cases.
The combination of FOPEN_PASSTHROUGH and FOPEN_DIRECT_IO is allowed -
it mean that read/write operations will go directly to the server,
but mmap will be done to the backing file.
Signed-off-by: Amir Goldstein <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions