old wrappers with few callers remaining; put them out of their misery...
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -48,22 +48,6 @@ static inline int user_path_at(int dfd, const char __user *name, unsigned flags, · 47 unmodified lines | |||
| 48 | return user_path_at_empty(dfd, name, flags, path, NULL); | 48 | return user_path_at_empty(dfd, name, flags, path, NULL); |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | static inline int user_path(const char __user *name, struct path *path) | ||
| 52 | { | ||
| 53 | return user_path_at_empty(AT_FDCWD, name, LOOKUP_FOLLOW, path, NULL); | ||
| 54 | } | ||
| 55 | |||
| 56 | static inline int user_lpath(const char __user *name, struct path *path) | ||
| 57 | { | ||
| 58 | return user_path_at_empty(AT_FDCWD, name, 0, path, NULL); | ||
| 59 | } | ||
| 60 | |||
| 61 | static inline int user_path_dir(const char __user *name, struct path *path) | ||
| 62 | { | ||
| 63 | return user_path_at_empty(AT_FDCWD, name, | ||
| 64 | LOOKUP_FOLLOW | LOOKUP_DIRECTORY, path, NULL); | ||
| 65 | } | ||
| 66 | |||
| 67 | extern int kern_path(const char *, unsigned, struct path *); | 51 | extern int kern_path(const char *, unsigned, struct path *); |
| 68 | 52 | ||
| 69 | extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int); | 53 | extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int); |