Source-Changes-HG archive

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

[src/bouyer-quota2]: src/sys/kern Remove debug printf



details:   https://anonhg.NetBSD.org/src/rev/91899fac57d9
branches:  bouyer-quota2
changeset: 761156:91899fac57d9
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Fri Feb 11 11:27:29 2011 +0000

description:
Remove debug printf

diffstat:

 sys/kern/vfs_syscalls.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 56dfbc7e7db1 -r 91899fac57d9 sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c   Thu Feb 10 17:11:35 2011 +0000
+++ b/sys/kern/vfs_syscalls.c   Fri Feb 11 11:27:29 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls.c,v 1.414.4.1 2011/01/20 14:24:58 bouyer Exp $    */
+/*     $NetBSD: vfs_syscalls.c,v 1.414.4.2 2011/02/11 11:27:29 bouyer Exp $    */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.414.4.1 2011/01/20 14:24:58 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.414.4.2 2011/02/11 11:27:29 bouyer Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_fileassoc.h"
@@ -899,27 +899,21 @@
 
        error = namei_simple_user(SCARG(uap, path),
                                NSM_FOLLOW_TRYEMULROOT, &vp);
-       printf("namei error %d\n", error);
        if (error != 0)
                return (error);
        mp = vp->v_mount;
        error = copyin(SCARG(uap, pref), &pref, sizeof(pref));
-       printf("copyin error %d\n", error);
        if (error)
                return error;
        error = prop_dictionary_copyin(&pref, &dict);
-       printf("prop_dictionary_copyin error %d\n", error);
        if (error)
                return error;
        error = VFS_QUOTACTL(mp, dict);
-       printf("VFS_QUOTACTL error %d\n", error);
        vrele(vp);
        if (!error)
                error = prop_dictionary_copyout(&pref, dict);
-       printf("prop_dictionary_copyout error %d\n", error);
        if (!error)
                error = copyout(&pref, SCARG(uap, pref), sizeof(pref));
-       printf("copyout error %d\n", error);
        prop_object_release(dict);
        return (error);
 }



Home | Main Index | Thread Index | Old Index