Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

name_to_handle_at(): use CLASS(filename_uflags)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 154ef7dc b79b3c1f

+2 -3
+2 -3
fs/fhandle.c
··· 157 157 fh_flags |= EXPORT_FH_CONNECTABLE; 158 158 159 159 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; 160 - if (flag & AT_EMPTY_PATH) 161 - lookup_flags |= LOOKUP_EMPTY; 162 - err = user_path_at(dfd, name, lookup_flags, &path); 160 + CLASS(filename_uflags, filename)(name, flag); 161 + err = filename_lookup(dfd, filename, lookup_flags, &path, NULL); 163 162 if (!err) { 164 163 err = do_sys_name_to_handle(&path, handle, mnt_id, 165 164 flag & AT_HANDLE_MNT_ID_UNIQUE,