Fix wrong KASSERT, reported by mhitch@.
This commit is contained in:
parent
eb8f42a53b
commit
62688f9115
|
@ -1,4 +1,4 @@
|
|||
/*$NetBSD: dm_target_stripe.c,v 1.16 2011/10/14 09:23:30 hannken Exp $*/
|
||||
/*$NetBSD: dm_target_stripe.c,v 1.17 2012/01/04 16:05:53 haad Exp $*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 The NetBSD Foundation, Inc.
|
||||
|
@ -248,7 +248,7 @@ dm_target_stripe_strategy(dm_table_entry_t * table_en, struct buf * bp)
|
|||
tlc = TAILQ_NEXT(tlc, entries);
|
||||
|
||||
/* by this point we should have an tlc */
|
||||
KASSERT(tlc == NULL);
|
||||
KASSERT(tlc != NULL);
|
||||
|
||||
nestbuf->b_blkno += tlc->offset;
|
||||
|
||||
|
|
Loading…
Reference in New Issue