]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - fs/nfs/nfs4xdr.c
NFSv4: Convert nfs41_free_stateid to use an asynchronous RPC call
[linux-imx.git] / fs / nfs / nfs4xdr.c
index 3c79c5878c6da6689df58f4b0990a777798fdf9e..4be8d135ed61b19bc14f511b0013382211a64c0c 100644 (file)
@@ -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 */