summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-01 09:12:39 +0000
committerphk <phk@FreeBSD.org>2001-05-01 09:12:39 +0000
commitc41ac84ca2a81faea3d3c68414fbd865d9d6aaf1 (patch)
tree82be4ce158cbc358593ab924d321fa6bbebcdc22 /sys/ufs
parent279d435d136134261bffa6b08f2591a9167a148f (diff)
downloadFreeBSD-src-c41ac84ca2a81faea3d3c68414fbd865d9d6aaf1.zip
FreeBSD-src-c41ac84ca2a81faea3d3c68414fbd865d9d6aaf1.tar.gz
Use ufs_bmaparray() rather than VOP_BMAP() on our own vnodes.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_vnops.c4
1 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud