summaryrefslogtreecommitdiff
path: root/init/do_mounts.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2013-04-09 17:42:28 -0400
committerJ. Bruce Fields <bfields@redhat.com>2013-04-09 17:42:28 -0400
commit23340032e64d70ce76817a88e8193c8040b095cf (patch)
tree12d7ebaea1fdc309f92514c96033b6a471053e1b /init/do_mounts.h
parent06b332a52293a45324320b6b446a7fa677fb6702 (diff)
downloadlinux-3.10-23340032e64d70ce76817a88e8193c8040b095cf.tar.gz
linux-3.10-23340032e64d70ce76817a88e8193c8040b095cf.tar.bz2
linux-3.10-23340032e64d70ce76817a88e8193c8040b095cf.zip
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>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions