NFSD: Clean up the test_stateid function
authorBryan Schumaker <bjschuma@netapp.com>
Fri, 27 Jan 2012 15:22:49 +0000 (10:22 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 17 Feb 2012 23:38:52 +0000 (18:38 -0500)
When I initially wrote it, I didn't understand how lists worked so I
wrote something that didn't use them.  I think making a list of stateids
to test is a more straightforward implementation, especially compared to
especially compared to decoding stateids while simultaneously encoding
a reply to the client.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h

Simple merge
Simple merge
diff --cc fs/nfsd/xdr4.h
Simple merge