diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-05-22 09:23:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-05-22 09:23:18 -0700 |
commit | 0e22bedd758643bc2cc161d54aa181e329da0ab3 (patch) | |
tree | 73fd34e6567f36c423a1ff37bf34bff1b082ade8 /include | |
parent | 4f2d34b65b40937b43c38ba34ece5aa3bc210e0d (diff) | |
parent | e9229c18dae3b3c2556cea8413edd1f76c78d767 (diff) | |
download | lwn-0e22bedd758643bc2cc161d54aa181e329da0ab3.tar.gz lwn-0e22bedd758643bc2cc161d54aa181e329da0ab3.zip |
Merge tag 'ovl-update-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs
Pull overlayfs updates from Miklos Szeredi:
- Add tmpfile support
- Clean up include
* tag 'ovl-update-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
ovl: remove duplicate included header
ovl: remove upper umask handling from ovl_create_upper()
ovl: implement tmpfile
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/backing-file.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/backing-file.h b/include/linux/backing-file.h index 3f1fe1774f1b..4b61b0e57720 100644 --- a/include/linux/backing-file.h +++ b/include/linux/backing-file.h @@ -22,6 +22,9 @@ struct backing_file_ctx { struct file *backing_file_open(const struct path *user_path, int flags, const struct path *real_path, const struct cred *cred); +struct file *backing_tmpfile_open(const struct path *user_path, int flags, + const struct path *real_parentpath, + umode_t mode, const struct cred *cred); ssize_t backing_file_read_iter(struct file *file, struct iov_iter *iter, struct kiocb *iocb, int flags, struct backing_file_ctx *ctx); |