| 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;
|
| Previous by Date: | [PATCH 5/7] xfs: kill the STATIC_INLINE macro, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH 3/7] xfs: rename xfs_attr_fetch to xfs_attr_get_int, Christoph Hellwig |
| Previous by Thread: | Re: [PATCH 5/7] xfs: kill the STATIC_INLINE macro, Dave Chinner |
| Next by Thread: | Re: [PATCH 6/7] xfs: remove incorrect sparse annotation for xfs_iget_cache_miss, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |