summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormlelstv <mlelstv@NetBSD.org>2008-06-17 15:04:12 +0000
committermlelstv <mlelstv@NetBSD.org>2008-06-17 15:04:12 +0000
commitb0199ee16284a2ec248d5a3d726d12364e94fbc3 (patch)
tree6e0102d63c6a4a575cefd10a3ee94bead418d90a /sys/dev
parentf6a70673bad0abc8d7e9407f9e3b68cb2be3fa28 (diff)
One more place to mark an iobuf busy before use.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fss.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fss.c b/sys/dev/fss.c
index cbb3299a2ca..6c9c9eb913a 100644
--- a/sys/dev/fss.c
+++ b/sys/dev/fss.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fss.c,v 1.46 2008/06/17 14:53:10 reinoud Exp $ */
+/* $NetBSD: fss.c,v 1.47 2008/06/17 15:04:12 mlelstv Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.46 2008/06/17 14:53:10 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.47 2008/06/17 15:04:12 mlelstv Exp $");
#include "fss.h"
@@ -900,6 +900,7 @@ restart:
bp->b_dev = sc->sc_bdev;
bp->b_private = scp;
bp->b_iodone = fss_cluster_iodone;
+ SET(nbp->b_cflags, BC_BUSY); /* mark buffer busy */
bdev_strategy(bp);