OSDN Git Service

NFS: Fix a typo in nfs_rename()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 6 Nov 2017 20:28:04 +0000 (15:28 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Nov 2017 21:43:46 +0000 (16:43 -0500)
commitd803224c84be067754db7fa58a93f36f61566493
treeb44df3a02472e4c2b8844a1aec60e8d23d3f53d0
parent8fd1ab747d2b1ec7ec663ad0b41a32eaa35117a8
NFS: Fix a typo in nfs_rename()

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