Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/puffs Missing bit in previous commit (PUFFS_KFLAG_CAC...



details:   https://anonhg.NetBSD.org/src/rev/c1f337ac7625
branches:  trunk
changeset: 780906:c1f337ac7625
user:      manu <manu%NetBSD.org@localhost>
date:      Sat Aug 11 01:10:11 2012 +0000

description:
Missing bit in previous commit (PUFFS_KFLAG_CACHE_DOTDOT option to avoid
looking up ..)

diffstat:

 sys/fs/puffs/puffs_sys.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r bf3fae5a8c4c -r c1f337ac7625 sys/fs/puffs/puffs_sys.h
--- a/sys/fs/puffs/puffs_sys.h  Fri Aug 10 21:00:45 2012 +0000
+++ b/sys/fs/puffs/puffs_sys.h  Sat Aug 11 01:10:11 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: puffs_sys.h,v 1.81 2012/07/27 07:38:44 manu Exp $      */
+/*     $NetBSD: puffs_sys.h,v 1.82 2012/08/11 01:10:11 manu Exp $      */
 
 /*
  * Copyright (c) 2005, 2006  Antti Kantee.  All Rights Reserved.
@@ -92,6 +92,8 @@
     ((pmp)->pmp_flags & PUFFS_KFLAG_LOOKUP_FULLPNBUF)
 #define PUFFS_USE_FS_TTL(pmp)  \
     ((pmp)->pmp_flags & PUFFS_KFLAG_CACHE_FS_TTL)
+#define PUFFS_USE_DOTDOTCACHE(pmp)     \
+    ((pmp)->pmp_flags & PUFFS_KFLAG_CACHE_DOTDOT)
 
 #define PUFFS_WCACHEINFO(pmp)  0
 
@@ -228,6 +230,7 @@
        int             pn_cn_grace;    /* grace time before reclaim */
        int             pn_va_timeout;  /* attribute cache */
        struct vattr *  pn_va_cache;    /* attribute cache */
+       struct vnode *  pn_parent;      /* parent cache */
 
        LIST_ENTRY(puffs_node) pn_hashent;
 };



Home | Main Index | Thread Index | Old Index