diff --git a/sys/fs/udf/udf_strat_rmw.c b/sys/fs/udf/udf_strat_rmw.c index 6216d9683dc8..6390298e14bd 100644 --- a/sys/fs/udf/udf_strat_rmw.c +++ b/sys/fs/udf/udf_strat_rmw.c @@ -1,4 +1,4 @@ -/* $NetBSD: udf_strat_rmw.c,v 1.3 2008/05/15 14:22:40 reinoud Exp $ */ +/* $NetBSD: udf_strat_rmw.c,v 1.4 2008/06/17 14:14:05 reinoud Exp $ */ /* * Copyright (c) 2006, 2008 Reinoud Zandijk @@ -28,7 +28,7 @@ #include #ifndef lint -__KERNEL_RCSID(0, "$NetBSD: udf_strat_rmw.c,v 1.3 2008/05/15 14:22:40 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udf_strat_rmw.c,v 1.4 2008/06/17 14:14:05 reinoud Exp $"); #endif /* not lint */ @@ -1068,7 +1068,7 @@ udf_issue_eccline(struct udf_eccline *eccline, int queued_on) buf = eccline->buf; buf_init(buf); buf->b_flags = B_READ | B_ASYNC; - buf->b_cflags = BC_BUSY; /* needed? */ + SET(buf->b_cflags, BC_BUSY); /* mark buffer busy */ buf->b_oflags = 0; buf->b_iodone = udf_shedule_read_callback; buf->b_data = eccline->blob; @@ -1116,7 +1116,7 @@ udf_issue_eccline(struct udf_eccline *eccline, int queued_on) buf = eccline->buf; buf_init(buf); buf->b_flags = B_WRITE | B_ASYNC; - buf->b_cflags = BC_BUSY; /* needed? */ + SET(buf->b_cflags, BC_BUSY); /* mark buffer busy */ buf->b_oflags = 0; buf->b_iodone = udf_shedule_write_callback; buf->b_data = eccline->blob;