Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Mark the cdev MPSAFE too.



details:   https://anonhg.NetBSD.org/src/rev/171f76733377
branches:  trunk
changeset: 1006537:171f76733377
user:      ad <ad%NetBSD.org@localhost>
date:      Sat Jan 18 14:02:18 2020 +0000

description:
Mark the cdev MPSAFE too.

diffstat:

 sys/dev/md.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0d952102f3a2 -r 171f76733377 sys/dev/md.c
--- a/sys/dev/md.c      Sat Jan 18 13:56:53 2020 +0000
+++ b/sys/dev/md.c      Sat Jan 18 14:02:18 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.82 2019/08/29 16:20:48 hannken Exp $  */
+/*     $NetBSD: md.c,v 1.83 2020/01/18 14:02:18 ad Exp $       */
 
 /*
  * Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.82 2019/08/29 16:20:48 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.83 2020/01/18 14:02:18 ad Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_md.h"
@@ -128,7 +128,7 @@
        .d_mmap = nommap,
        .d_kqfilter = nokqfilter,
        .d_discard = nodiscard,
-       .d_flag = D_DISK
+       .d_flag = D_DISK | D_MPSAFE
 };
 
 static struct dkdriver mddkdriver = {



Home | Main Index | Thread Index | Old Index