From: Christoph Hellwig Date: Sat, 14 Nov 2009 16:17:23 +0000 (+0000) Subject: xfs: remove incorrect sparse annotation for xfs_iget_cache_miss X-Git-Tag: v2.6.33-rc1~312^2~2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0c3dc2b02a4996c13e26eb91296e8a309e0c6227;p=~emulex%2Finfiniband.git xfs: remove incorrect sparse annotation for xfs_iget_cache_miss xfs_iget_cache_miss does not get called with the pag_ici_lock held, so the __releases annotation is incorrect. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Alex Elder --- diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c index cc72c561ff5..073bb4a26b1 100644 --- a/fs/xfs/xfs_iget.c +++ b/fs/xfs/xfs_iget.c @@ -293,7 +293,7 @@ xfs_iget_cache_miss( struct xfs_inode **ipp, xfs_daddr_t bno, int flags, - int lock_flags) __releases(pag->pag_ici_lock) + int lock_flags) { struct xfs_inode *ip; int error;