]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39f19bb8e85aa2f14eedc81656232bcb3abf0b44
tree1086dc1865bab7fb3934d587742976e647b25895
parentc15f51409d71d3627b0150dfc8a437523847b20f
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