[GIT PULL 9/12 for v6.18] afs

From: Christian Brauner

Date: Fri Sep 26 2025 - 10:19:18 EST


Hey Linus,

/* Summary */
This contains the change to enable afs to support RENAME_NOREPLACE and
RENAME_EXCHANGE if the server supports it.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3+b1)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.18-rc1.afs

for you to fetch changes up to a19239ba14525c26ad097d59fd52cd9198b5bcdb:

afs: Add support for RENAME_NOREPLACE and RENAME_EXCHANGE (2025-09-25 09:19:07 +0200)

Please consider pulling these changes from the signed vfs-6.18-rc1.afs tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.18-rc1.afs

----------------------------------------------------------------
David Howells (1):
afs: Add support for RENAME_NOREPLACE and RENAME_EXCHANGE

fs/afs/dir.c | 223 +++++++++++++++++++++++++++++++---------
fs/afs/dir_edit.c | 18 ++--
fs/afs/dir_silly.c | 11 ++
fs/afs/internal.h | 15 ++-
fs/afs/misc.c | 1 +
fs/afs/protocol_yfs.h | 3 +
fs/afs/rotate.c | 17 +++-
fs/afs/yfsclient.c | 249 +++++++++++++++++++++++++++++++++++++++++++++
fs/dcache.c | 1 +
include/trace/events/afs.h | 6 ++
10 files changed, 480 insertions(+), 64 deletions(-)