]> git.neil.brown.name Git - history.git/commit
[PATCH] A basic NFSv4 client for 2.5.x
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Fri, 11 Oct 2002 09:59:43 +0000 (02:59 -0700)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Fri, 11 Oct 2002 09:59:43 +0000 (02:59 -0700)
commitbe6b809b10080c64c86ad3cc077b11651fb06ab1
tree32a534bf6242df83adfa0280b56c74339bd49785
parentc44ca0405d80b561e79c48b362ac38ccd4651d11
[PATCH] A basic NFSv4 client for 2.5.x

In NFSv3, an RPC is retried if the special error NFSERR_JUKEBOX is
received.  This generic bit of postprocessing happens invisibly for
synchronous RPC's, but in the async case, the ->tk_exit callback
must call nfs_async_handle_jukebox() by hand.

In NFSv4, we also need generic postprocessing of async RPC's, but
the details are different.  Therefore, we don't want to call
nfs_async_handle_jukebox(); we want to call a different, NFSv4-specific
routine.  Therefore, we want to move calls to nfs_async_handle_jukebox()
out of the "generic" NFS code and into NFSv3-specific routines.  This
has already been done for async READ and WRITE in the preceding patches,
but there is still one outstanding case: the async REMOVE in sillyrename.

This patch removes nfs_async_handle_jukebox() from the async sillyrename
path, and puts in the NFSv3 ->unlink_done() rpc_op.
fs/nfs/nfs3proc.c
fs/nfs/proc.c
fs/nfs/unlink.c
include/linux/nfs_xdr.h