summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-22 11:14:36 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-31 08:17:53 +0200
commitcd3acb6a79349f346714ab3d26d203a0c6ca5ab0 (patch)
treeef54d5dfaceca217273e3f4a323c95573b2b681a /fs/namei.c
parent812931d693da58cc24d2bb8dec01c2b4a7f4668f (diff)
downloadlinux-stable-cd3acb6a79349f346714ab3d26d203a0c6ca5ab0.tar.gz
linux-stable-cd3acb6a79349f346714ab3d26d203a0c6ca5ab0.tar.bz2
linux-stable-cd3acb6a79349f346714ab3d26d203a0c6ca5ab0.zip
init: add an init_symlink helper
Add a simple helper to symlink with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_symlink. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 13de64c6be76..2f6fa53eb3da 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -3955,7 +3955,7 @@ int vfs_symlink(struct inode *dir, struct dentry *dentry, const char *oldname)
}
EXPORT_SYMBOL(vfs_symlink);
-long do_symlinkat(const char __user *oldname, int newdfd,
+static long do_symlinkat(const char __user *oldname, int newdfd,
const char __user *newname)
{
int error;