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 cc72c561ff52d683263f292ca8d2b6237c007976..073bb4a26b194a8e1508c9b50f4363b444e84b54 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;