Eliminate unnecessary KASSERTS.
This commit is contained in:
parent
2899faf96b
commit
a40a512387
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136988
@ -1230,8 +1230,6 @@ struct vop_strategy_args {
|
||||
struct vnode *vp;
|
||||
daddr_t lbn;
|
||||
|
||||
KASSERT(ap->a_vp == ap->a_bp->b_vp, ("%s(%p != %p)",
|
||||
__func__, ap->a_vp, ap->a_bp->b_vp));
|
||||
vp = ap->a_vp;
|
||||
lbn = ap->a_bp->b_lblkno;
|
||||
if (VTOI(vp)->i_fs->fs_magic == FS_UFS2_MAGIC &&
|
||||
|
@ -1931,8 +1931,6 @@ ufs_strategy(ap)
|
||||
ufs2_daddr_t blkno;
|
||||
int error;
|
||||
|
||||
KASSERT(ap->a_vp == ap->a_bp->b_vp, ("%s(%p != %p)",
|
||||
__func__, ap->a_vp, ap->a_bp->b_vp));
|
||||
ip = VTOI(vp);
|
||||
if (bp->b_blkno == bp->b_lblkno) {
|
||||
error = ufs_bmaparray(vp, bp->b_lblkno, &blkno, bp, NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user