J. Bruce Fields 23340032e6 nfsd4: clean up validate_stateid
The logic here is better expressed with a switch statement.

While we're here, CLOSED stateids (or stateids of an unkown type--which
would indicate a server bug) should probably return nfserr_bad_stateid,
though this behavior shouldn't affect any non-buggy client.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2013-04-09 17:42:28 -04:00
..
2011-11-07 21:10:47 -05:00
2013-02-26 02:46:08 -05:00
2013-04-09 17:42:28 -04:00
2012-01-03 22:55:10 -05:00
2013-02-26 02:46:08 -05:00
2013-03-22 16:55:15 -04:00
2013-02-26 02:46:08 -05:00