xfs: remove incorrect sparse annotation for xfs_iget_cache_miss
authorChristoph Hellwig <hch@infradead.org>
Sat, 14 Nov 2009 16:17:23 +0000 (16:17 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 11 Dec 2009 21:11:23 +0000 (15:11 -0600)
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 <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_iget.c

index cc72c56..073bb4a 100644 (file)
@@ -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;