mpt(4): Add D_MPSAFE to ops.
authorSascha Wildner <saw@online.de>
Sat, 2 Aug 2014 12:42:25 +0000 (14:42 +0200)
committerSascha Wildner <saw@online.de>
Sat, 2 Aug 2014 12:42:25 +0000 (14:42 +0200)
sys/dev/disk/mpt/mpt_user.c

index 617a15b..52cad9b 100644 (file)
@@ -81,7 +81,7 @@ static d_close_t      mpt_close;
 static d_ioctl_t       mpt_ioctl;
 
 static struct dev_ops mpt_ops = {
-       { "mpt", 0, 0 },
+       { "mpt", 0, D_MPSAFE },
        .d_open =       mpt_open,
        .d_close =      mpt_close,
        .d_ioctl =      mpt_ioctl,