Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/nfs Pullup rev 1.53 (requested by yamt in ticket #1...



details:   https://anonhg.NetBSD.org/src/rev/629084af638a
branches:  netbsd-2-0
changeset: 564671:629084af638a
user:      jmc <jmc%NetBSD.org@localhost>
date:      Tue Jan 11 06:41:38 2005 +0000

description:
Pullup rev 1.53 (requested by yamt in ticket #1079)

        Invalidate cache if filesize is changed besides our activity
        because it means that were out of sync with the server.

diffstat:

 sys/nfs/nfsnode.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r ebbab0bc23fa -r 629084af638a sys/nfs/nfsnode.h
--- a/sys/nfs/nfsnode.h Tue Jan 11 06:41:35 2005 +0000
+++ b/sys/nfs/nfsnode.h Tue Jan 11 06:41:38 2005 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: nfsnode.h,v 1.46.2.3 2005/01/11 06:35:42 jmc Exp $    */
+/*      $NetBSD: nfsnode.h,v 1.46.2.4 2005/01/11 06:41:38 jmc Exp $    */
 
 /*
  * Copyright (c) 1989, 1993
@@ -205,7 +205,8 @@
 #define        NACC            0x0100  /* Special file accessed */
 #define        NUPD            0x0200  /* Special file updated */
 #define        NCHG            0x0400  /* Special file times changed */
-#define        NTRUNCDELAYED   0x1000  /* Should be truncated later */
+#define        NTRUNCDELAYED   0x1000  /* Should be truncated later;
+                                  implies stale cache */
 #define        NREMOVED        0x2000  /* Has been removed */
 #define        NUSEOPENCRED    0x4000  /* Try open cred first rather than owner's */
 



Home | Main Index | Thread Index | Old Index