Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/ptyfs Don't call ptyfs_time() with stack garbage. It...
details: https://anonhg.NetBSD.org/src/rev/c5bcd655d604
branches: trunk
changeset: 571342:c5bcd655d604
user: atatat <atatat%NetBSD.org@localhost>
date: Fri Nov 19 04:42:45 2004 +0000
description:
Don't call ptyfs_time() with stack garbage. It makes the times look
funny. I was getting stuff somewhere around 1939, but that's where my
kernel is.
diffstat:
sys/fs/ptyfs/ptyfs_vnops.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 399e52761deb -r c5bcd655d604 sys/fs/ptyfs/ptyfs_vnops.c
--- a/sys/fs/ptyfs/ptyfs_vnops.c Fri Nov 19 02:51:18 2004 +0000
+++ b/sys/fs/ptyfs/ptyfs_vnops.c Fri Nov 19 04:42:45 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ptyfs_vnops.c,v 1.2 2004/11/11 19:19:59 jdolecek Exp $ */
+/* $NetBSD: ptyfs_vnops.c,v 1.3 2004/11/19 04:42:45 atatat Exp $ */
/*
* Copyright (c) 1993, 1995
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.2 2004/11/11 19:19:59 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.3 2004/11/19 04:42:45 atatat Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -809,7 +809,6 @@
struct vnode *vp = ap->a_vp;
struct ptyfsnode *ptyfs = VTOPTYFS(vp);
struct timespec ts;
- ptyfs_time(ptyfs, &ts, &ts);
simple_lock(&vp->v_interlock);
if (vp->v_usecount > 1) {
Home |
Main Index |
Thread Index |
Old Index