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)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 6 Oct 2020 14:21:18 +0000 (10:21 -0400)
commit247db73560bc3e5aef6db50c443c3c0db115bc93
tree8ee5a474c9ec74e4708c412aad4ec2c6eb510ac2
parent5904c16d2210b967caf66b04a0c26cfa6a7a0328
NFS: fix nfs_path in case of a rename retry

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>
fs/nfs/namespace.c