From: Jiro SEKIBA Date: Thu, 14 Oct 2010 04:52:00 +0000 (+0900) Subject: nilfs2: eliminate sparse warning - "context imbalance" X-Git-Tag: v2.6.37-rc1~150^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b81e14e645016597c81e71cd27ee5c57c3a3c36;p=pandora-kernel.git nilfs2: eliminate sparse warning - "context imbalance" insert sparse annotations to fix following sparse warning. fs/nilfs2/segment.c:2681:3: warning: context imbalance in 'nilfs_segctor_kill_thread' - unexpected unlock nilfs_segctor_kill_thread is only called inside sc_state_lock lock. sparse doesn't detect the context and warn "unexpected unlock". __acquires/__releases pretend to lock/unlock the sc_state_lock for sparse. Signed-off-by: Jiro SEKIBA Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed