diff options
| author | Paulo Alcantara <[email protected]> | 2023-02-28 22:01:54 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-03-02 00:18:25 +0000 |
| commit | b9ee2e307c6b06384b6f9e393a9b8e048e8fc277 (patch) | |
| tree | 56eddce76ca31f3fa8fb2fbe26a300e9bd80f38d /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | iov: Fix netfs_extract_user_to_sg() (diff) | |
| download | kernel-b9ee2e307c6b06384b6f9e393a9b8e048e8fc277.tar.gz kernel-b9ee2e307c6b06384b6f9e393a9b8e048e8fc277.zip | |
cifs: improve checking of DFS links over STATUS_OBJECT_NAME_INVALID
Do not map STATUS_OBJECT_NAME_INVALID to -EREMOTE under non-DFS
shares, or 'nodfs' mounts or CONFIG_CIFS_DFS_UPCALL=n builds.
Otherwise, in the slow path, get a referral to figure out whether it
is an actual DFS link.
This could be simply reproduced under a non-DFS share by running the
following
$ mount.cifs //srv/share /mnt -o ...
$ cat /mnt/$(printf '\U110000')
cat: '/mnt/'$'\364\220\200\200': Object is remote
Fixes: c877ce47e137 ("cifs: reduce roundtrips on create/qinfo requests")
CC: [email protected] # 6.2
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
