From c41ac84ca2a81faea3d3c68414fbd865d9d6aaf1 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 1 May 2001 09:12:39 +0000 Subject: Use ufs_bmaparray() rather than VOP_BMAP() on our own vnodes. --- sys/ufs/ufs/ufs_vnops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/ufs') diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 862ea36..eae3707 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -1874,7 +1874,7 @@ ufs_readlink(ap) * Calculate the logical to physical mapping if not done already, * then call the device strategy routine. * - * In order to be able to swap to a file, the VOP_BMAP operation may not + * In order to be able to swap to a file, the ufs_bmaparray() operation may not * deadlock on memory. See ufs_bmap() for details. */ int @@ -1893,7 +1893,7 @@ ufs_strategy(ap) if (vp->v_type == VBLK || vp->v_type == VCHR) panic("ufs_strategy: spec"); if (bp->b_blkno == bp->b_lblkno) { - error = VOP_BMAP(vp, bp->b_lblkno, NULL, &bp->b_blkno, NULL, NULL); + error = ufs_bmaparray(vp, bp->b_lblkno, &bp->b_blkno, NULL, NULL); if (error) { bp->b_error = error; bp->b_ioflags |= BIO_ERROR; -- cgit v1.1