nfsd: fix change_info in NFSv4 RENAME replies
authorJeff Layton <jlayton@kernel.org>
Sat, 9 Sep 2023 11:12:30 +0000 (07:12 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 9 Sep 2023 17:24:52 +0000 (13:24 -0400)
commitfdd2630a7398191e84822612e589062063bd4f3d
treeda8ba0983c0c47af5adc9a13eddb81819129a22a
parentb38a6023da6a12b561f0421c6a5a1f7624a1529c
nfsd: fix change_info in NFSv4 RENAME replies

nfsd sends the transposed directory change info in the RENAME reply. The
source directory is in save_fh and the target is in current_fh.

Reported-by: Zhi Li <yieli@redhat.com>
Reported-by: Benjamin Coddington <bcodding@redhat.com>
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2218844
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4proc.c