Convert XFS to use sem_getcount instead of nasty hack. Should fix warning with XFS debugging on PARISC. Untested since there is no obvious way to turn on XFS debugging.
Signed-off-by: Jody McIntyre <[EMAIL PROTECTED]> Index: 1394-dev/fs/xfs/linux-2.6/xfs_buf.c =================================================================== --- 1394-dev.orig/fs/xfs/linux-2.6/xfs_buf.c 2005-03-10 18:20:13.000000000 -0500 +++ 1394-dev/fs/xfs/linux-2.6/xfs_buf.c 2005-03-10 18:20:55.000000000 -0500 @@ -976,7 +976,7 @@ int pagebuf_lock_value( xfs_buf_t *pb) { - return(atomic_read(&pb->pb_sema.count)); + return(sem_getcount(&pb->pb_sema)); } #endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/