Commit 0c3dc2b02a4996c13e26eb91296e8a309e0c6227

Authored by Christoph Hellwig
Committed by Alex Elder
1 parent b8f82a4a6f

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -293,7 +293,7 @@
293 293 struct xfs_inode **ipp,
294 294 xfs_daddr_t bno,
295 295 int flags,
296   - int lock_flags) __releases(pag->pag_ici_lock)
  296 + int lock_flags)
297 297 {
298 298 struct xfs_inode *ip;
299 299 int error;