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 update comment for DIOCGCACHE (no DKCACHE_R...



details:   https://anonhg.NetBSD.org/src/rev/c8e619ac4d95
branches:  trunk
changeset: 930611:c8e619ac4d95
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Apr 10 11:41:04 2020 +0000

description:
update comment for DIOCGCACHE (no DKCACHE_READ)

diffstat:

 sys/arch/xen/xen/xbd_xenbus.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 9f6c782ef3fa -r c8e619ac4d95 sys/arch/xen/xen/xbd_xenbus.c
--- a/sys/arch/xen/xen/xbd_xenbus.c     Fri Apr 10 10:53:02 2020 +0000
+++ b/sys/arch/xen/xen/xbd_xenbus.c     Fri Apr 10 11:41:04 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbd_xenbus.c,v 1.99 2020/04/10 10:32:18 jdolecek Exp $      */
+/*      $NetBSD: xbd_xenbus.c,v 1.100 2020/04/10 11:41:04 jdolecek Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.99 2020/04/10 10:32:18 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.100 2020/04/10 11:41:04 jdolecek Exp $");
 
 #include "opt_xen.h"
 
@@ -853,10 +853,7 @@
        switch (cmd) {
        case DIOCGCACHE:
            {
-               /*
-                * Assume there is read & write cache if cache-flush is
-                * supported.
-                */
+               /* Assume there is write cache if cache-flush is supported */
                int *bitsp = (int *)data;
                *bitsp = 0;
                if (sc->sc_features & BLKIF_FEATURE_CACHE_FLUSH)



Home | Main Index | Thread Index | Old Index