diff options
| author | ad <ad@NetBSD.org> | 2008-01-31 13:13:20 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2008-01-31 13:13:20 +0000 |
| commit | d7b9a25622fd292165b3a21c4be7d59d00a4e207 (patch) | |
| tree | 62165b87dda15dfe0d09e5a5217b10cd988d1572 /sys/fs/tmpfs | |
| parent | d8251138f49c6d45a82305b7ef5bd7d11b4d916d (diff) | |
Remove debugging code that's no longer needed.
Diffstat (limited to 'sys/fs/tmpfs')
| -rw-r--r-- | sys/fs/tmpfs/tmpfs_vnops.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index ff157c80ab8..9e7bc96d841 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: tmpfs_vnops.c,v 1.47 2008/01/30 09:50:21 ad Exp $ */ +/* $NetBSD: tmpfs_vnops.c,v 1.48 2008/01/31 13:13:20 ad Exp $ */ /* * Copyright (c) 2005, 2006, 2007 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.47 2008/01/30 09:50:21 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.48 2008/01/31 13:13:20 ad Exp $"); #include <sys/param.h> #include <sys/dirent.h> @@ -941,18 +941,6 @@ tmpfs_rename(void *v) * node on the end of the target's node list. */ de2 = tmpfs_dir_lookup(tdnode, tcnp); KASSERT(de2 != NULL); -/* XXXREMOVEME */ - if (de2 == de) { - panic("tmpfs_rename: to self 1"); - } - if (de2->td_node == de->td_node) { - panic("tmpfs_rename: to self 2"); - } - if (de2->td_node != tnode) { - panic("tmpfs_rename: found wrong entry [%s]", - tcnp->cn_nameptr); - } -/* XXXREMOVEME */ KASSERT(de2->td_node == tnode); tmpfs_dir_detach(tdvp, de2); |
