Module Name: src Committed By: manu Date: Sat Aug 11 01:10:11 UTC 2012
Modified Files: src/sys/fs/puffs: puffs_sys.h Log Message: Missing bit in previous commit (PUFFS_KFLAG_CACHE_DOTDOT option to avoid looking up ..) To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/fs/puffs/puffs_sys.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/fs/puffs/puffs_sys.h diff -u src/sys/fs/puffs/puffs_sys.h:1.81 src/sys/fs/puffs/puffs_sys.h:1.82 --- src/sys/fs/puffs/puffs_sys.h:1.81 Fri Jul 27 07:38:44 2012 +++ src/sys/fs/puffs/puffs_sys.h Sat Aug 11 01:10:11 2012 @@ -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 @@ extern int puffsdebug; /* puffs_subr.c * ((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 @@ struct puffs_node { 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; };