• J. Bruce Fields's avatar
    nfsd4: clean up validate_stateid · 23340032
    J. Bruce Fields authored
    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>
    23340032
nfs4state.c 133 KB