Skip to content
Commit 23340032 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 06b332a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment