mirror of https://github.com/OpenIPC/firmware.git
16 lines
879 B
Diff
16 lines
879 B
Diff
diff -drupN a/include/linux/namei.h b/include/linux/namei.h
|
|
--- a/include/linux/namei.h 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/include/linux/namei.h 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -78,8 +78,11 @@ extern struct dentry *user_path_create(i
|
|
extern void done_path_create(struct path *, struct dentry *);
|
|
extern struct dentry *kern_path_locked(const char *, struct path *);
|
|
extern int kern_path_mountpoint(int, const char *, struct path *, unsigned int);
|
|
+extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
|
|
+ const char *, unsigned int, struct path *);
|
|
|
|
extern struct dentry *lookup_one_len(const char *, struct dentry *, int);
|
|
+extern struct dentry *lookup_one_len2(const char *, struct vfsmount *mnt, struct dentry *, int);
|
|
extern struct dentry *lookup_one_len_unlocked(const char *, struct dentry *, int);
|
|
|
|
extern int follow_down_one(struct path *);
|