summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_subr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-01 09:12:31 +0000
committerphk <phk@FreeBSD.org>2001-05-01 09:12:31 +0000
commit279d435d136134261bffa6b08f2591a9167a148f (patch)
tree629d1c853c13df8ad5b68b325e7946a5d35d3d20 /sys/ufs/ffs/ffs_subr.c
parent8d4f3f1adb8e5b5797ac9a9aacf1d29a40f13841 (diff)
downloadFreeBSD-src-279d435d136134261bffa6b08f2591a9167a148f.zip
FreeBSD-src-279d435d136134261bffa6b08f2591a9167a148f.tar.gz
Remove blatantly pointless call to VOP_BMAP().
Use ufs_bmaparray() rather than VOP_BMAP() on our own vnodes.
Diffstat (limited to 'sys/ufs/ffs/ffs_subr.c')
-rw-r--r--sys/ufs/ffs/ffs_subr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c
index c3471de..b50d1ab 100644
--- a/sys/ufs/ffs/ffs_subr.c
+++ b/sys/ufs/ffs/ffs_subr.c
@@ -145,11 +145,7 @@ ffs_checkoverlap(bp, ip)
if (ep == bp || (ep->b_flags & B_INVAL) ||
ep->b_vp == NULLVP)
continue;
- if (VOP_BMAP(ep->b_vp, (ufs_daddr_t)0, &vp, (ufs_daddr_t *)NULL,
- (int *)NULL, (int *)NULL))
- continue;
- if (vp != ip->i_devvp)
- continue;
+ vp = ip->i_devvp;
/* look for overlap */
if (ep->b_bcount == 0 || ep->b_blkno > last ||
ep->b_blkno + btodb(ep->b_bcount) <= start)
OpenPOWER on IntegriCloud