File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -3583,7 +3583,7 @@ static int do_open(struct nameidata *nd,
3583
3583
* On non-idmapped mounts or if permission checking is to be performed on the
3584
3584
* raw inode simply passs init_user_ns.
3585
3585
*/
3586
- struct dentry * vfs_tmpfile (struct user_namespace * mnt_userns ,
3586
+ static struct dentry * vfs_tmpfile (struct user_namespace * mnt_userns ,
3587
3587
struct dentry * dentry , umode_t mode , int open_flag )
3588
3588
{
3589
3589
struct dentry * child = NULL ;
@@ -3622,7 +3622,6 @@ struct dentry *vfs_tmpfile(struct user_namespace *mnt_userns,
3622
3622
dput (child );
3623
3623
return ERR_PTR (error );
3624
3624
}
3625
- EXPORT_SYMBOL (vfs_tmpfile );
3626
3625
3627
3626
/**
3628
3627
* vfs_tmpfile_open - open a tmpfile for kernel internal use
Original file line number Diff line number Diff line change @@ -2004,9 +2004,6 @@ static inline int vfs_whiteout(struct user_namespace *mnt_userns,
2004
2004
WHITEOUT_DEV );
2005
2005
}
2006
2006
2007
- struct dentry * vfs_tmpfile (struct user_namespace * mnt_userns ,
2008
- struct dentry * dentry , umode_t mode , int open_flag );
2009
-
2010
2007
struct file * vfs_tmpfile_open (struct user_namespace * mnt_userns ,
2011
2008
const struct path * parentpath ,
2012
2009
umode_t mode , int open_flag , const struct cred * cred );
You can’t perform that action at this time.
0 commit comments