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 pass dev to disk_ioctl



details:   https://anonhg.NetBSD.org/src/rev/a38e8337b6dc
branches:  trunk
changeset: 335263:a38e8337b6dc
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 31 20:39:07 2014 +0000

description:
pass dev to disk_ioctl

diffstat:

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

diffs (27 lines):

diff -r 84ab51c09a04 -r a38e8337b6dc sys/arch/xen/xen/xbd_xenbus.c
--- a/sys/arch/xen/xen/xbd_xenbus.c     Wed Dec 31 20:37:52 2014 +0000
+++ b/sys/arch/xen/xen/xbd_xenbus.c     Wed Dec 31 20:39:07 2014 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbd_xenbus.c,v 1.66 2014/08/10 16:44:35 tls Exp $      */
+/*      $NetBSD: xbd_xenbus.c,v 1.67 2014/12/31 20:39:07 christos Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.66 2014/08/10 16:44:35 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.67 2014/12/31 20:39:07 christos Exp $");
 
 #include "opt_xen.h"
 
@@ -847,7 +847,7 @@
            dev, cmd, data, flag, l));
        dksc = &sc->sc_dksc;
 
-       error = disk_ioctl(&sc->sc_dksc.sc_dkdev, cmd, data, flag, l);
+       error = disk_ioctl(&sc->sc_dksc.sc_dkdev, dev, cmd, data, flag, l);
        if (error != EPASSTHROUGH)
                return (error);
 



Home | Main Index | Thread Index | Old Index