Remove an assertion that causes non-diagnostic kernels to fail.
This commit is contained in:
parent
ea9397d212
commit
d34d506c7f
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fstrans.h,v 1.4 2007/05/17 07:26:21 hannken Exp $ */
|
||||
/* $NetBSD: fstrans.h,v 1.5 2007/05/17 12:00:31 hannken Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
@ -66,7 +66,7 @@ enum fstrans_state {
|
||||
void fstrans_init(void);
|
||||
#define fstrans_start(mp, t) \
|
||||
do { \
|
||||
KASSERT(_fstrans_start((mp), (t), 1) == 0); \
|
||||
_fstrans_start((mp), (t), 1); \
|
||||
} while (/* CONSTCOND */ 0)
|
||||
#define fstrans_start_nowait(mp, t) _fstrans_start((mp), (t), 0)
|
||||
int _fstrans_start(struct mount *, enum fstrans_lock_type, int);
|
||||
|
Loading…
Reference in New Issue
Block a user