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)
commit03cfb42025a16dc45195dbdd6d368daaa8367429
tree5c1fbae03c905fb22b40f53d04e7616e413a0b3d
parentde5b8e8e047534aac6bc9803f96e7257436aef9c
NFSD: Clean up the test_stateid function

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