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)
commit96f9d8c0740264c5e2975361389ff2c21f2c5a4d
tree31cb4f6c6ca48895094c0ea0811a06aae844a5db
parent4f14c194a996e75c01e44a8832f1d983ccaeefc0
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