]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
namei.c: switch user pathname imports to CLASS(filename{,_flags})
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 6 Dec 2025 18:01:06 +0000 (13:01 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 16 Jan 2026 17:52:03 +0000 (12:52 -0500)
commit904f58b50711babeb6e1383701e27d40a336908c
tree7bf0498b35cdc2fea0b8d0be42c5049e863bcebc
parente9817d5b8c32b64d40b0c0ffcd0dc67ce77e2aca
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>
fs/namei.c