diff options
author | Josh Triplett <josht@us.ibm.com> | 2006-10-02 11:17:50 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 16:57:18 +0200 |
commit | 896440d560de3bca6813e83792f431edf5073318 (patch) | |
tree | 38f140167006e40c969d89797af2719ce3e387ad /fs/nfsd/nfssvc.c | |
parent | [PATCH] knfsd: Use SEQ_START_TOKEN instead of hardcoded magic (void*)1 (diff) | |
download | linux-896440d560de3bca6813e83792f431edf5073318.tar.xz linux-896440d560de3bca6813e83792f431edf5073318.zip |
[PATCH] nfsd: add lock annotations to e_start and e_stop
e_start acquires svc_export_cache.hash_lock, and e_stop releases it. Add
lock annotations to these two functions so that sparse can check callers
for lock pairing, and so that sparse will not complain about these
functions since they intentionally use locks in this manner.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfsd/nfssvc.c')
0 files changed, 0 insertions, 0 deletions