[patch 1/3] vfs: dcache sparse fixes
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 23 Jun 2008 16:11:52 +0000 (18:11 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 23 Jun 2008 17:06:36 +0000 (13:06 -0400)
commit31f3e0b3a18c6d48196c40a82a3b8c01f4ff6b23
tree3ff97fb1fbe50a3e37e4a18d68b4720d509e99c5
parentbe285c712bbbe5db43e503782fbef2bfeaa345f9
[patch 1/3] vfs: dcache sparse fixes

Fix the following sparse warnings:

fs/dcache.c:2183:19: warning: symbol 'filp_cachep' was not declared. Should it be static?
fs/dcache.c:115:3: warning: context imbalance in 'dentry_iput' - unexpected unlock
fs/dcache.c:188:2: warning: context imbalance in 'dput' - different lock contexts for basic block
fs/dcache.c:400:2: warning: context imbalance in 'prune_one_dentry' - different lock contexts for basic block
fs/dcache.c:431:22: warning: context imbalance in 'prune_dcache' - different lock contexts for basic block
fs/dcache.c:563:2: warning: context imbalance in 'shrink_dcache_sb' - different lock contexts for basic block
fs/dcache.c:1385:6: warning: context imbalance in 'd_delete' - wrong count at exit
fs/dcache.c:1636:2: warning: context imbalance in '__d_unalias' - unexpected unlock
fs/dcache.c:1735:2: warning: context imbalance in 'd_materialise_unique' - different lock contexts for basic block

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c