Commit 833dc04f authored by Jeff Layton's avatar Jeff Layton Committed by sanglipeng
Browse files

nfsd: fix change_info in NFSv4 RENAME replies

stable inclusion
from stable-v5.10.197
commit 96afb318ae5de2bc67cc2e19c7fda49f981e700b
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I96Q8P

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=96afb318ae5de2bc67cc2e19c7fda49f981e700b



--------------------------------

commit fdd2630a upstream.

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: default avatarZhi Li <yieli@redhat.com>
Reported-by: default avatarBenjamin Coddington <bcodding@redhat.com>
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2218844


Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 95e6d9df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment