Module Name: src
Committed By: jdolecek
Date: Fri Apr 10 11:41:04 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
update comment for DIOCGCACHE (no DKCACHE_READ)
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/arch/xen/xen/xbd_xenbus.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/xen/xen/xbd_xenbus.c
diff -u src/sys/arch/xen/xen/xbd_xenbus.c:1.99 src/sys/arch/xen/xen/xbd_xenbus.c:1.100
--- src/sys/arch/xen/xen/xbd_xenbus.c:1.99 Fri Apr 10 10:32:18 2020
+++ src/sys/arch/xen/xen/xbd_xenbus.c Fri Apr 10 11:41:04 2020
@@ -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 @@ xbdioctl(dev_t dev, u_long cmd, void *da
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)