[PATCH] fuse: add lock annotations to request_end and fuse_read_interrupt
authorJosh Triplett <josht@us.ibm.com>
Fri, 29 Sep 2006 08:59:25 +0000 (01:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:08 +0000 (09:18 -0700)
commit105f4d7a813e9ef6be58549f5d2a49af1764da19
tree8dcb1f371f05ff8699919eebe7e187c8f74c5844
parent99fc705996285ed2746c0c8ae8313d0a04d62ec9
[PATCH] fuse: add lock annotations to request_end and fuse_read_interrupt

request_end and fuse_read_interrupt release fc->lock.  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>
Acked-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/dev.c