xfs
[Top] [All Lists]

[PATCH 6/7] xfs: remove incorrect sparse annotation for xfs_iget_cache_m

To: xfs@xxxxxxxxxxx
Subject: [PATCH 6/7] xfs: remove incorrect sparse annotation for xfs_iget_cache_miss
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sat, 14 Nov 2009 11:17:23 -0500
References: <20091114161717.233372584@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: quilt/0.47-1
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@xxxxxx>
 
Index: xfs/fs/xfs/xfs_iget.c
===================================================================
--- xfs.orig/fs/xfs/xfs_iget.c  2009-11-12 17:13:27.565003964 +0100
+++ xfs/fs/xfs/xfs_iget.c       2009-11-12 17:19:14.801254179 +0100
@@ -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;

<Prev in Thread] Current Thread [Next in Thread>