NFS: Pass a stateid to test_stateid() and free_stateid()

This takes the guesswork out of what stateid to use.  The caller is
expected to figure this out and pass in the correct one.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Bryan Schumaker
2012-01-31 10:39:29 -05:00
committed by Trond Myklebust
parent 883381246c
commit 1cab0652ba
2 changed files with 24 additions and 16 deletions

View File

@@ -5671,7 +5671,8 @@ static int decode_test_stateid(struct xdr_stream *xdr,
if (unlikely(!p))
goto out_overflow;
res->status = be32_to_cpup(p++);
return res->status;
return status;
out_overflow:
print_overflow_msg(__func__, xdr);
out: