summaryrefslogtreecommitdiff
path: root/fs/namei.c
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 /fs/namei.c
parent4f2d34b65b40937b43c38ba34ece5aa3bc210e0d (diff)
parente9229c18dae3b3c2556cea8413edd1f76c78d767 (diff)
downloadlwn-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 'fs/namei.c')
-rw-r--r--fs/namei.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/namei.c b/fs/namei.c
index cb5dde0e309f..37fb0a8aa09a 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -3676,9 +3676,9 @@ static int do_open(struct nameidata *nd,
* On non-idmapped mounts or if permission checking is to be performed on the
* raw inode simply pass @nop_mnt_idmap.
*/
-static int vfs_tmpfile(struct mnt_idmap *idmap,
- const struct path *parentpath,
- struct file *file, umode_t mode)
+int vfs_tmpfile(struct mnt_idmap *idmap,
+ const struct path *parentpath,
+ struct file *file, umode_t mode)
{
struct dentry *child;
struct inode *dir = d_inode(parentpath->dentry);