Revert "ANDROID: fs: Restore vfs_path_lookup() export"

This reverts commit c1d30dd04e as sdcardfs
is no longer in the tree.

Bug: 157700134
Cc: Alistair Strachan <astrachan@google.com>
Cc: Yongqin Liu <yongqin.liu@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I88da5b222c6dcda0900da12ccb54122a723d3f6c
This commit is contained in:
Greg Kroah-Hartman 2020-06-27 15:08:51 +02:00
parent 7d8d128141
commit 0fb8b79adc
2 changed files with 2 additions and 2 deletions

View file

@ -55,6 +55,8 @@ extern void __init chrdev_init(void);
* namei.c
*/
extern int user_path_mountpoint_at(int, const char __user *, unsigned int, struct path *);
extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
const char *, unsigned int, struct path *);
long do_mknodat(int dfd, const char __user *filename, umode_t mode,
unsigned int dev);
long do_mkdirat(int dfd, const char __user *pathname, umode_t mode);

View file

@ -79,8 +79,6 @@ extern struct dentry *kern_path_create(int, const char *, struct path *, unsigne
extern struct dentry *user_path_create(int, const char __user *, struct path *, unsigned int);
extern void done_path_create(struct path *, struct dentry *);
extern struct dentry *kern_path_locked(const char *, struct path *);
extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
const char *, unsigned int, struct path *);
extern int kern_path_mountpoint(int, const char *, struct path *, unsigned int);
extern struct dentry *try_lookup_one_len(const char *, struct dentry *, int);