From: J. Bruce Fields Date: Tue, 9 Apr 2013 21:42:28 +0000 (-0400) Subject: nfsd4: clean up validate_stateid X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~48^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23340032e64d70ce76817a88e8193c8040b095cf;p=pandora-kernel.git 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 --- Reading git-diff-tree failed