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 update access/change times on open.
details: https://anonhg.NetBSD.org/src/rev/770af23d55d4
branches: trunk
changeset: 769642:770af23d55d4
user: christos <christos%NetBSD.org@localhost>
date: Fri Sep 16 18:43:44 2011 +0000
description:
don't update access/change times on open.
diffstat:
sys/fs/ptyfs/ptyfs_vnops.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 38bc78eb6621 -r 770af23d55d4 sys/fs/ptyfs/ptyfs_vnops.c
--- a/sys/fs/ptyfs/ptyfs_vnops.c Fri Sep 16 16:41:20 2011 +0000
+++ b/sys/fs/ptyfs/ptyfs_vnops.c Fri Sep 16 18:43:44 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ptyfs_vnops.c,v 1.35 2011/06/12 03:35:53 rmind Exp $ */
+/* $NetBSD: ptyfs_vnops.c,v 1.36 2011/09/16 18:43:44 christos Exp $ */
/*
* Copyright (c) 1993, 1995
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.35 2011/06/12 03:35:53 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.36 2011/09/16 18:43:44 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -733,7 +733,6 @@
struct vnode *vp = ap->a_vp;
struct ptyfsnode *ptyfs = VTOPTYFS(vp);
- ptyfs->ptyfs_flag |= PTYFS_CHANGE|PTYFS_ACCESS;
switch (ptyfs->ptyfs_type) {
case PTYFSpts:
case PTYFSptc:
Home |
Main Index |
Thread Index |
Old Index