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/bd072bb4483c
branches:  trunk
changeset: 930609:bd072bb4483c
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 2a56f3621346 -r bd072bb4483c 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