]> git.ipfire.org Git - people/arne_f/kernel.git/commit
NFS: fix nfs_path in case of a rename retry
authorAshish Sangwan <ashishsangwan2@gmail.com>
Mon, 5 Oct 2020 09:22:43 +0000 (02:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Nov 2020 09:22:15 +0000 (10:22 +0100)
commit20a7c9a7966c842698ac22bfaae48da7f4cc9935
tree02de0c2abd353a31b1e82cfd669b88ae8e371395
parent92728df6369842bea92fcaa02251ae904b1faa2b
NFS: fix nfs_path in case of a rename retry

commit 247db73560bc3e5aef6db50c443c3c0db115bc93 upstream.

We are generating incorrect path in case of rename retry because
we are restarting from wrong dentry. We should restart from the
dentry which was received in the call to nfs_path.

CC: stable@vger.kernel.org
Signed-off-by: Ashish Sangwan <ashishsangwan2@gmail.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/namespace.c