Commit 904f58b
Al Viro
namei.c: switch user pathname imports to CLASS(filename{,_flags})
filename_flags is used by user_path_at(). I suspect that mixing
LOOKUP_EMPTY with real lookup flags had been a mistake all along; the
former belongs to pathname import, the latter - to pathwalk. Right now
none of the remaining in-tree callers of user_path_at() are getting
LOOKUP_EMPTY in flags, so user_path_at() could probably be switched
to CLASS(filename)...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>1 parent e9817d5 commit 904f58b
1 file changed
Lines changed: 6 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3031 | 3031 | | |
3032 | 3032 | | |
3033 | 3033 | | |
3034 | | - | |
3035 | | - | |
3036 | | - | |
3037 | | - | |
3038 | | - | |
| 3034 | + | |
| 3035 | + | |
3039 | 3036 | | |
3040 | 3037 | | |
3041 | 3038 | | |
| |||
3613 | 3610 | | |
3614 | 3611 | | |
3615 | 3612 | | |
3616 | | - | |
3617 | | - | |
3618 | | - | |
3619 | | - | |
3620 | | - | |
| 3613 | + | |
| 3614 | + | |
3621 | 3615 | | |
3622 | 3616 | | |
3623 | 3617 | | |
| |||
4976 | 4970 | | |
4977 | 4971 | | |
4978 | 4972 | | |
4979 | | - | |
4980 | | - | |
4981 | | - | |
4982 | | - | |
4983 | | - | |
| 4973 | + | |
| 4974 | + | |
4984 | 4975 | | |
4985 | 4976 | | |
4986 | 4977 | | |
| |||
0 commit comments