]> git.baikalelectronics.ru Git - kernel.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)
commit8379f2f3c9bf1aea3c94c7ccae7c277fcd68a459
treee257e32dae1622c83aa720f5b08c10e29af5167f
parent5a49dd2c78543ca9187d98715379d07794d29e7c
[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