diff options
| author | David Howells <[email protected]> | 2024-12-16 20:41:02 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-12-20 21:34:04 +0000 |
| commit | b49194da2aff2c879dec9c59ef8dec0f2b0809ef (patch) | |
| tree | c209c77eec3f500a3043c88bf10b087cac2e0214 /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c | |
| parent | afs: Don't use mutex for I/O operation lock (diff) | |
| download | kernel-b49194da2aff2c879dec9c59ef8dec0f2b0809ef.tar.gz kernel-b49194da2aff2c879dec9c59ef8dec0f2b0809ef.zip | |
afs: Fix EEXIST error returned from afs_rmdir() to be ENOTEMPTY
AFS servers pass back a code indicating EEXIST when they're asked to remove
a directory that is not empty rather than ENOTEMPTY because not all the
systems that an AFS server can run on have the latter error available and
AFS preexisted the addition of that error in general.
Fix afs_rmdir() to translate EEXIST to ENOTEMPTY.
Fixes: 260a980317da ("[AFS]: Add "directory write" support.")
Signed-off-by: David Howells <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
cc: Marc Dionne <[email protected]>
cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions
