]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
NFS: Fix a typo in nfs_rename()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 6 Nov 2017 20:28:04 +0000 (15:28 -0500)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 13 Mar 2018 10:27:35 +0000 (11:27 +0100)
commite3bfe8d82c9bfee31ada327e8b0b49d6bc92d4c9
treeb0cf27d141a95589d38ff9671d01ae6a3a449430
parentcf9a75017d9dbae384eb9fd5ba3f321cc1805ef3
NFS: Fix a typo in nfs_rename()

BugLink: http://bugs.launchpad.net/bugs/1745047
[ Upstream commit d803224c84be067754db7fa58a93f36f61566493 ]

On successful rename, the "old_dentry" is retained and is attached to
the "new_dir", so we need to call nfs_set_verifier() accordingly.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
fs/nfs/dir.c