History

kill the last users of user_{path,lpath,path_dir}()

old wrappers with few callers remaining; put them out of their misery...

Al Viro committed 7 years ago

Commit ce6595a1 parent 6b61aed4 files · +8 −25Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/namei.h+0−16
@@ -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
51static 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
56static 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
61static 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
67extern int kern_path(const char *, unsigned, struct path *);51extern int kern_path(const char *, unsigned, struct path *);
68 52
69extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int);53extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t