]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hugetlbfs: add lock annotation to hugetlbfs_forget_inode()
authorJosh Triplett <josht@us.ibm.com>
Fri, 29 Sep 2006 08:59:27 +0000 (01:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:08 +0000 (09:18 -0700)
commitddc0a51d2e351985aa542ff650635e2fd62d3f8b
treee257e32dae1622c83aa720f5b08c10e29af5167f
parent105f4d7a813e9ef6be58549f5d2a49af1764da19
[PATCH] hugetlbfs: add lock annotation to hugetlbfs_forget_inode()

hugetlbfs_forget_inode releases inode_lock.  Add a lock annotation to this
function so that sparse can check callers for lock pairing, and so that
sparse will not complain about this functions since it intentionally uses
the lock in this manner.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/hugetlbfs/inode.c