Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Clean up debugging cruft that somehow made it into my previo...
details: https://anonhg.NetBSD.org/src/rev/671a1918d51f
branches: trunk
changeset: 463392:671a1918d51f
user: perseant <perseant%NetBSD.org@localhost>
date: Tue Aug 20 21:18:10 2019 +0000
description:
Clean up debugging cruft that somehow made it into my previous commit.
diffstat:
sbin/mount_umap/mount_umap.c | 8 ++------
sys/miscfs/umapfs/umap.h | 8 ++++----
2 files changed, 6 insertions(+), 10 deletions(-)
diffs (53 lines):
diff -r 6cb09aa7cfbc -r 671a1918d51f sbin/mount_umap/mount_umap.c
--- a/sbin/mount_umap/mount_umap.c Tue Aug 20 21:07:21 2019 +0000
+++ b/sbin/mount_umap/mount_umap.c Tue Aug 20 21:18:10 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_umap.c,v 1.25 2019/08/20 21:07:21 wiz Exp $ */
+/* $NetBSD: mount_umap.c,v 1.26 2019/08/20 21:18:10 perseant Exp $ */
/*
* Copyright (c) 1992, 1993, 1994
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)mount_umap.c 8.5 (Berkeley) 4/26/95";
#else
-__RCSID("$NetBSD: mount_umap.c,v 1.25 2019/08/20 21:07:21 wiz Exp $");
+__RCSID("$NetBSD: mount_umap.c,v 1.26 2019/08/20 21:18:10 perseant Exp $");
#endif
#endif /* not lint */
@@ -252,10 +252,6 @@
args.gmapdata = gmapdata;
args.fsid = fsid;
- printf("sizeof export_args30 = %d, sizeof layer_args = %d, sizeof umap_args = %d\n",
- (int)sizeof(struct export_args30),
- (int)sizeof(struct layer_args),
- (int)sizeof(struct umap_args));
if (mount(MOUNT_UMAP, target, mntflags, &args, sizeof args) == -1)
err(1, "%s on %s", source, target);
if (mntflags & MNT_GETARGS) {
diff -r 6cb09aa7cfbc -r 671a1918d51f sys/miscfs/umapfs/umap.h
--- a/sys/miscfs/umapfs/umap.h Tue Aug 20 21:07:21 2019 +0000
+++ b/sys/miscfs/umapfs/umap.h Tue Aug 20 21:18:10 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umap.h,v 1.18 2019/08/20 20:18:54 perseant Exp $ */
+/* $NetBSD: umap.h,v 1.19 2019/08/20 21:18:10 perseant Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -95,11 +95,11 @@
#define MOUNTTOUMAPMOUNT(mp) ((struct umap_mount *)((mp)->mnt_data))
#define VTOUMAP(vp) ((struct umap_node *)(vp)->v_data)
#define UMAPTOV(xp) ((xp)->umap_vnode)
-/* #ifdef UMAPFS_DIAGNOSTIC
+#ifdef UMAPFS_DIAGNOSTIC
#define UMAPVPTOLOWERVP(vp) layer_checkvp((vp), __FILE__, __LINE__)
-#else */
+#else
#define UMAPVPTOLOWERVP(vp) (VTOUMAP(vp)->umap_lowervp)
-/* #endif */
+#endif
extern int (**umap_vnodeop_p)(void *);
extern struct vfsops umapfs_vfsops;
Home |
Main Index |
Thread Index |
Old Index