mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
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:
parent
f9cb1a06e3
commit
4d843f0419
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user