Merge tag 'ovl-update-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayf...
[linux-2.6-block.git] / fs / namei.c
index cb5dde0e309f7a2d27aae1d00d0f12da4064e92e..37fb0a8aa09a05e93637c984e665158006a50ef8 100644 (file)
@@ -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);