• M
    [patch 1/3] vfs: dcache sparse fixes · 31f3e0b3
    Miklos Szeredi 提交于
    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: NMiklos Szeredi <mszeredi@suse.cz>
    Reviewed-by: NMatthew Wilcox <willy@linux.intel.com>
    Acked-by: NChristoph Hellwig <hch@infradead.org>
    Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
    31f3e0b3
dcache.c 56.2 KB