Skip to content

Commit

Permalink
xfs: remove incorrect sparse annotation for xfs_iget_cache_miss
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Alex Elder committed Dec 11, 2009
1 parent b8f82a4 commit 0c3dc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/xfs_iget.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0c3dc2b

Please sign in to comment.