diff options
author | dfr <dfr@FreeBSD.org> | 1999-03-29 08:30:17 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-03-29 08:30:17 +0000 |
commit | 21b8cdbbc44555e6e72a62f039cb74083fa94385 (patch) | |
tree | ca63babcb039a7200138ab997a3f85e19e8b574a /sys | |
parent | ede326b6e7be7d05db28ad26cce6dd2aa5283b3d (diff) | |
download | FreeBSD-src-21b8cdbbc44555e6e72a62f039cb74083fa94385.zip FreeBSD-src-21b8cdbbc44555e6e72a62f039cb74083fa94385.tar.gz |
Fix a bug which prevented more than two clients from sharing a resource.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_rman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c index e0526bb..0970366 100644 --- a/sys/kern/subr_rman.c +++ b/sys/kern/subr_rman.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: subr_rman.c,v 1.3 1998/12/07 21:58:29 archie Exp $ + * $Id: subr_rman.c,v 1.4 1999/01/02 11:34:55 bde Exp $ */ /* @@ -359,7 +359,7 @@ rman_reserve_resource(struct rman *rm, u_long start, u_long end, u_long count, LIST_INIT(s->r_sharehead); LIST_INSERT_HEAD(s->r_sharehead, s, r_sharelink); - s->r_flags = RF_FIRSTSHARE; + s->r_flags |= RF_FIRSTSHARE; } rv->r_sharehead = s->r_sharehead; LIST_INSERT_HEAD(s->r_sharehead, rv, r_sharelink); |