mbox series

[0/2] Support for O_TMPFILE in fuse

Message ID 20201109100343.3958378-1-chirantan@chromium.org (mailing list archive)
Headers show
Series Support for O_TMPFILE in fuse | expand

Message

Chirantan Ekbote Nov. 9, 2020, 10:03 a.m. UTC
This series adds support for O_TMPFILE to fuse. This wasn't supported
previously because  even though it's just another flag for open(2),
there is a separate handler for it in the inode_operations struct.

The implementation re-uses the existing infrastructure for creating new
entries in a directory (currently used by mknod, symlink, and mkdir).
I'm not sure if this requires a new minor version so I've just added the
new message definitions without changing the version number.

Chirantan Ekbote (2):
  uapi/fuse.h: Add message definitions for O_TMPFILE
  fuse: Implement O_TMPFILE support

 fs/fuse/dir.c             | 21 +++++++++++++++++++++
 fs/fuse/file.c            |  3 ++-
 include/uapi/linux/fuse.h |  7 +++++++
 3 files changed, 30 insertions(+), 1 deletion(-)