Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen allow DIOCSSTRATEGY, there is no particular...



details:   https://anonhg.NetBSD.org/src/rev/8733b74d058b
branches:  trunk
changeset: 1009022:8733b74d058b
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Apr 10 10:32:18 2020 +0000

description:
allow DIOCSSTRATEGY, there is no particular reason why it should be
restricted for xbd(4)

diffstat:

 sys/arch/xen/xen/xbd_xenbus.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r d857ce88f748 -r 8733b74d058b sys/arch/xen/xen/xbd_xenbus.c
--- a/sys/arch/xen/xen/xbd_xenbus.c     Fri Apr 10 10:30:10 2020 +0000
+++ b/sys/arch/xen/xen/xbd_xenbus.c     Fri Apr 10 10:32:18 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbd_xenbus.c,v 1.98 2020/04/10 10:30:10 jdolecek Exp $      */
+/*      $NetBSD: xbd_xenbus.c,v 1.99 2020/04/10 10:32:18 jdolecek Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.98 2020/04/10 10:30:10 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.99 2020/04/10 10:32:18 jdolecek Exp $");
 
 #include "opt_xen.h"
 
@@ -851,9 +851,6 @@
        dksc = &sc->sc_dksc;
 
        switch (cmd) {
-       case DIOCSSTRATEGY:
-               error = EOPNOTSUPP;
-               break;
        case DIOCGCACHE:
            {
                /*



Home | Main Index | Thread Index | Old Index