diff options
author | David Howells <dhowells@redhat.com> | 2025-09-24 13:49:49 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-09-25 09:19:07 +0200 |
commit | a19239ba14525c26ad097d59fd52cd9198b5bcdb (patch) | |
tree | 020a9a521c2c8410f2ffc65d9e76add8dad8b47c /net/unix/af_unix.c | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
afs: Add support for RENAME_NOREPLACE and RENAME_EXCHANGE
Add support for RENAME_NOREPLACE and RENAME_EXCHANGE, if the server
supports them.
The default is translated to YFS.Rename_Replace, falling back to
YFS.Rename; RENAME_NOREPLACE is translated to YFS.Rename_NoReplace and
RENAME_EXCHANGE to YFS.Rename_Exchange, both of which fall back to
reporting EINVAL.
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/740476.1758718189@warthog.procyon.org.uk
cc: Marc Dionne <marc.dionne@auristor.com>
cc: Dan Carpenter <dan.carpenter@linaro.org>
cc: linux-afs@lists.infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions