diff options
author | David Howells <[email protected]> | 2023-06-08 09:43:54 +0100 |
---|---|---|
committer | David Howells <[email protected]> | 2023-11-17 07:55:28 +0000 |
commit | 2a4ca1b4b77850544408595e2433f5d7811a9daa (patch) | |
tree | 675a5f338bf5ec6d434ffcd2868873494e23b914 /scripts/generate_rust_analyzer.py | |
parent | e6bace7313d61e31f2b16fa3d774fd8cb3cb869e (diff) |
afs: Make error on cell lookup failure consistent with OpenAFS
When kafs tries to look up a cell in the DNS or the local config, it will
translate a lookup failure into EDESTADDRREQ whereas OpenAFS translates it
into ENOENT. Applications such as West expect the latter behaviour and
fail if they see the former.
This can be seen by trying to mount an unknown cell:
# mount -t afs %example.com:cell.root /mnt
mount: /mnt: mount(2) system call failed: Destination address required.
Fixes: 4d673da14533 ("afs: Support the AFS dynamic root")
Reported-by: Markus Suvanto <[email protected]>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216637
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
cc: Marc Dionne <[email protected]>
cc: [email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions