aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 38ceb6e06eba..a7b0a0b80128 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1193,19 +1193,6 @@ static int path_lookup_create(int dfd, const char *name,
1193 nd, open_flags, create_mode); 1193 nd, open_flags, create_mode);
1194} 1194}
1195 1195
1196int __user_path_lookup_open(const char __user *name, unsigned int lookup_flags,
1197 struct nameidata *nd, int open_flags)
1198{
1199 char *tmp = getname(name);
1200 int err = PTR_ERR(tmp);
1201
1202 if (!IS_ERR(tmp)) {
1203 err = __path_lookup_intent_open(AT_FDCWD, tmp, lookup_flags, nd, open_flags, 0);
1204 putname(tmp);
1205 }
1206 return err;
1207}
1208
1209static struct dentry *__lookup_hash(struct qstr *name, 1196static struct dentry *__lookup_hash(struct qstr *name,
1210 struct dentry *base, struct nameidata *nd) 1197 struct dentry *base, struct nameidata *nd)
1211{ 1198{