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

This reverts commit 0fb8b79adc.

For sdcardfs.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I910e0454b071be541de4bfa89eb4c724b2c75e05
This commit is contained in:
Tao Huang 2020-09-24 19:57:10 +08:00
parent f9cb1a06e3
commit 4d843f0419
2 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,6 @@ 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,6 +79,8 @@ 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);