summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2009-11-14 19:17:23 +0300
committerAlex Elder <aelder@sgi.com>2009-12-12 00:11:23 +0300
commit0c3dc2b02a4996c13e26eb91296e8a309e0c6227 (patch)
tree7a974ff0d9cb20dee3c2afa84fd1f67ffda281eb
parentb8f82a4a6fc79fcb4b2eb81252020e04c9b49da5 (diff)
downloadlinux-0c3dc2b02a4996c13e26eb91296e8a309e0c6227.tar.xz
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 <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Alex Elder <aelder@sgi.com>
-rw-r--r--fs/xfs/xfs_iget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c
index cc72c561ff52..073bb4a26b19 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;