summaryrefslogtreecommitdiffstats
path: root/sound/isa/cmi8330.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-09-23 23:01:19 +0200
committerJ. Bruce Fields <bfields@redhat.com>2011-09-26 23:35:28 +0200
commit38c2f4b12a455cb3a108fd5c79a10df2ba3ec9a7 (patch)
tree125aa30a29a2863b448d66b2b0d31d4f65db0533 /sound/isa/cmi8330.c
parentnfsd4: assume test_stateid always has session (diff)
downloadlinux-38c2f4b12a455cb3a108fd5c79a10df2ba3ec9a7.tar.xz
linux-38c2f4b12a455cb3a108fd5c79a10df2ba3ec9a7.zip
nfsd4: look up stateid's per clientid
Use a separate stateid idr per client, and lookup a stateid by first finding the client, then looking up the stateid relative to that client. Also some minor refactoring. This allows us to improve error returns: we can return expired when the clientid is not found and bad_stateid when the clientid is found but not the stateid, as opposed to returning expired for both cases. I hope this will also help to replace the state lock mostly by a per-client lock, but that hasn't been done yet. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'sound/isa/cmi8330.c')
0 files changed, 0 insertions, 0 deletions