Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 add a ktrgenio() call to netbsd32___getd...



details:   https://anonhg.NetBSD.org/src/rev/73d2556eff2d
branches:  trunk
changeset: 348508:73d2556eff2d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Oct 21 07:45:16 2016 +0000

description:
add a ktrgenio() call to netbsd32___getdents30().
from dholland, tested by me.

diffstat:

 sys/compat/netbsd32/netbsd32_fs.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 002dce130140 -r 73d2556eff2d sys/compat/netbsd32/netbsd32_fs.c
--- a/sys/compat/netbsd32/netbsd32_fs.c Fri Oct 21 07:24:30 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_fs.c Fri Oct 21 07:45:16 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_fs.c,v 1.77 2016/10/19 09:55:10 skrll Exp $   */
+/*     $NetBSD: netbsd32_fs.c,v 1.78 2016/10/21 07:45:16 mrg Exp $     */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_fs.c,v 1.77 2016/10/19 09:55:10 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_fs.c,v 1.78 2016/10/21 07:45:16 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -519,6 +519,7 @@
        }
        error = vn_readdir(fp, SCARG_P32(uap, buf),
            UIO_USERSPACE, SCARG(uap, count), &done, l, 0, 0);
+       ktrgenio(SCARG(uap, fd), UIO_READ, SCARG_P32(uap, buf), done, error);
        *retval = done;
  out:
        fd_putfile(SCARG(uap, fd));



Home | Main Index | Thread Index | Old Index