linux-stable/fs/nfsd
Al Viro fcc60c0a18 nfsd: lock_rename() needs both directories to live on the same fs
commit 1aee9158bc upstream.

... checking that after lock_rename() is too late.  Incidentally,
NFSv2 had no nfserr_xdev...

Fixes: aa387d6ce1 "nfsd: fix EXDEV checking in rename"
Cc: stable@vger.kernel.org # v3.9+
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-08 08:46:10 +01:00
..
Kconfig
Makefile
acl.h
auth.c
auth.h
blocklayout.c
blocklayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-19 12:20:15 +02:00
blocklayoutxdr.h
cache.h
current_stateid.h
export.c
export.h
fault_inject.c
filecache.c nfsd: Replace use of rwsem with errseq_t 2022-06-22 14:13:12 +02:00
filecache.h nfsd: Replace use of rwsem with errseq_t 2022-06-22 14:13:12 +02:00
flexfilelayout.c
flexfilelayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-19 12:20:15 +02:00
flexfilelayoutxdr.h
idmap.h
lockd.c
netns.h nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-02-01 08:23:26 +01:00
nfs2acl.c
nfs3acl.c
nfs3proc.c NFSD: Clamp WRITE offsets 2022-02-16 12:54:17 +01:00
nfs3xdr.c
nfs4acl.c
nfs4callback.c NFSD: callback request does not use correct credential for AUTH_SYS 2023-04-20 12:10:22 +02:00
nfs4idmap.c
nfs4layouts.c nfsd: fix race to check ls_layouts 2023-03-11 16:39:39 +01:00
nfs4proc.c nfsd: fix change_info in NFSv4 RENAME replies 2023-09-23 11:01:10 +02:00
nfs4recover.c nfsd: Fix a memory leak in an error handling path 2022-10-26 13:25:18 +02:00
nfs4state.c nfsd: fix file memleak on client_opens_release 2023-11-28 16:55:01 +00:00
nfs4xdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-19 12:20:15 +02:00
nfscache.c
nfsctl.c nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-02-01 08:23:26 +01:00
nfsd.h nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-02-01 08:23:26 +01:00
nfsfh.c
nfsfh.h
nfsproc.c NFSD: prevent underflow in nfssvc_decode_writeargs() 2022-04-08 14:39:51 +02:00
nfssvc.c nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-02-01 08:23:26 +01:00
nfsxdr.c
pnfs.h
state.h
stats.c
stats.h
trace.c
trace.h NFSD: Fix offset type in I/O trace points 2022-02-16 12:54:17 +01:00
vfs.c nfsd: lock_rename() needs both directories to live on the same fs 2023-12-08 08:46:10 +01:00
vfs.h
xdr.h NFSD: prevent underflow in nfssvc_decode_writeargs() 2022-04-08 14:39:51 +02:00
xdr3.h
xdr4.h
xdr4cb.h