summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorTrond Myklebust2013-05-03 20:40:01 +0200
committerTrond Myklebust2013-05-06 23:24:22 +0200
commit7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 (patch)
treef547ba7b4d1ff5bcbd732e1ce29e7420b01543ef /fs/nfs/nfs4xdr.c
parentSUNRPC: Don't spam syslog with "Pseudoflavor not found" messages (diff)
downloadkernel-qcow2-linux-7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009.tar.gz
kernel-qcow2-linux-7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009.tar.xz
kernel-qcow2-linux-7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009.zip
NFSv4: Convert nfs41_free_stateid to use an asynchronous RPC call
The main reason for doing this is will be to allow for an asynchronous RPC mode that we can use for freeing lock stateids as per section 8.2.4 of RFC5661. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 3c79c5878c6d..4be8d135ed61 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -2003,7 +2003,7 @@ static void encode_free_stateid(struct xdr_stream *xdr,
struct compound_hdr *hdr)
{
encode_op_hdr(xdr, OP_FREE_STATEID, decode_free_stateid_maxsz, hdr);
- encode_nfs4_stateid(xdr, args->stateid);
+ encode_nfs4_stateid(xdr, &args->stateid);
}
#endif /* CONFIG_NFS_V4_1 */