nfs: convert nfs_rename to use async_rename infrastructure
authorJeff Layton <jlayton@redhat.com>
Mon, 17 Mar 2014 11:06:56 +0000 (07:06 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Mar 2014 19:14:17 +0000 (15:14 -0400)
commit80a491fd40770db143d250772778ff4f89b807ef
tree1086dc1865bab7fb3934d587742976e647b25895
parent0e862a405185b28e775eeeae6b04bfa39724b1ad
nfs: convert nfs_rename to use async_rename infrastructure

There isn't much sense in maintaining two separate versions of rename
code. Convert nfs_rename to use the asynchronous rename infrastructure
that nfs_sillyrename uses, and emulate synchronous behavior by having
the task just wait on the reply.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Tested-by: Anna Schumaker <Anna.Schumaker@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/dir.c