]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: abstract out code needed to complete a sillyrename
authorJeff Layton <jlayton@redhat.com>
Mon, 17 Mar 2014 11:06:54 +0000 (07:06 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Mar 2014 19:14:16 +0000 (15:14 -0400)
commita2b90db1e7c56de9945af812a1d413ceed67e5e2
tree31cb4f6c6ca48895094c0ea0811a06aae844a5db
parent73b0c07a76dbeffdae14023837bb8e284f057589
nfs: abstract out code needed to complete a sillyrename

The async rename code is currently "polluted" with some parts that are
really just for sillyrenames. Add a new "complete" operation vector to
the nfs_renamedata to separate out the stuff that just needs to be done
for a sillyrename.

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/unlink.c
include/linux/nfs_xdr.h