aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-05-22 09:23:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-05-22 09:23:18 -0700
commit0e22bedd758643bc2cc161d54aa181e329da0ab3 (patch)
tree73fd34e6567f36c423a1ff37bf34bff1b082ade8 /include/linux
parentMerge tag 'fuse-update-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse (diff)
parentovl: remove duplicate included header (diff)
downloadwireguard-linux-0e22bedd758643bc2cc161d54aa181e329da0ab3.tar.xz
wireguard-linux-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/linux')
-rw-r--r--include/linux/backing-file.h3
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);