Remove blatantly pointless call to VOP_BMAP().

This commit is contained in:
Poul-Henning Kamp 2001-05-01 09:12:05 +00:00
parent 573fbdc21f
commit cf94807d03
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76172
2 changed files with 2 additions and 8 deletions

View File

@ -114,10 +114,7 @@ ext2_checkoverlap(bp, ip)
if (ep == bp || (ep->b_flags & B_INVAL) ||
ep->b_vp == NULLVP)
continue;
if (VOP_BMAP(ep->b_vp, (daddr_t)0, &vp, (daddr_t)0, NULL, 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)

View File

@ -114,10 +114,7 @@ ext2_checkoverlap(bp, ip)
if (ep == bp || (ep->b_flags & B_INVAL) ||
ep->b_vp == NULLVP)
continue;
if (VOP_BMAP(ep->b_vp, (daddr_t)0, &vp, (daddr_t)0, NULL, 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)