Sfoglia il codice sorgente

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>
Christoph Hellwig 15 anni fa
parent
commit
0c3dc2b02a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      fs/xfs/xfs_iget.c

+ 1 - 1
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;