[git pull] nfsd fix

From: Al Viro
Date: Tue Oct 24 2023 - 02:19:06 EST


Catch from lock_rename() audit; nfsd_rename() checked that both directories
belonged to the same filesystem, but only after having done lock_rename().
Trivial fix, tested and acked by nfs folks. Sat in -next for a while...

The following changes since commit 94f6f0550c625fab1f373bb86a6669b45e9748b3:

Linux 6.6-rc5 (2023-10-08 13:49:43 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-nfsd-fix

for you to fetch changes up to 1aee9158bc978f91701c5992e395efbc6da2de3c:

nfsd: lock_rename() needs both directories to live on the same fs (2023-10-17 00:24:35 -0400)

----------------------------------------------------------------
fix for lock_rename() misuse in nfsd

----------------------------------------------------------------
Al Viro (1):
nfsd: lock_rename() needs both directories to live on the same fs

fs/nfsd/vfs.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)