Remove a bad assertion from last commit.

Non bufcache buffers may have BC_BUSY unset.
This commit is contained in:
hannken 2008-05-16 14:08:56 +00:00
parent 73085a8640
commit 940992e2c0
1 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfs_trans.c,v 1.20 2008/05/16 09:01:56 hannken Exp $ */
/* $NetBSD: vfs_trans.c,v 1.21 2008/05/16 14:08:56 hannken Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vfs_trans.c,v 1.20 2008/05/16 09:01:56 hannken Exp $");
__KERNEL_RCSID(0, "$NetBSD: vfs_trans.c,v 1.21 2008/05/16 14:08:56 hannken Exp $");
/*
* File system transaction operations.
@ -547,8 +547,6 @@ fscow_run(struct buf *bp, bool data_valid)
struct fstrans_mount_info *fmi;
struct fscow_handler *hp;
KASSERT(ISSET(bp->b_cflags, BC_BUSY));
if ((bp->b_flags & B_COWDONE))
goto done;
if (bp->b_vp == NULL)