From: Josh Triplett Date: Fri, 29 Sep 2006 08:59:25 +0000 (-0700) Subject: [PATCH] afs: add lock annotations to afs_proc_cell_servers_{start,stop} X-Git-Tag: v2.6.19-rc1~808 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99fc705996285ed2746c0c8ae8313d0a04d62ec9;p=pandora-kernel.git [PATCH] afs: add lock annotations to afs_proc_cell_servers_{start,stop} afs_proc_cell_servers_start acquires a lock, and afs_proc_cell_servers_stop releases that 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 Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed