rename name cache invalidation interface to be in sync with the

kernel operation names, i.e. contain "namecache" instead of just "name"
This commit is contained in:
pooka 2007-01-09 18:19:01 +00:00
parent 03a190dc22
commit 71ddd8df08
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: flush.c,v 1.1 2007/01/09 18:15:08 pooka Exp $ */
/* $NetBSD: flush.c,v 1.2 2007/01/09 18:19:01 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: flush.c,v 1.1 2007/01/09 18:15:08 pooka Exp $");
__RCSID("$NetBSD: flush.c,v 1.2 2007/01/09 18:19:01 pooka Exp $");
#endif /* !lint */
/*
@ -44,7 +44,7 @@ __RCSID("$NetBSD: flush.c,v 1.1 2007/01/09 18:15:08 pooka Exp $");
#if 0
int
puffs_inval_name_node(struct puffs_usermount *pu, void *cookie,
puffs_inval_namecache_node(struct puffs_usermount *pu, void *cookie,
const char *name)
{
@ -53,7 +53,7 @@ puffs_inval_name_node(struct puffs_usermount *pu, void *cookie,
#endif
int
puffs_inval_name_dir(struct puffs_usermount *pu, void *cookie)
puffs_inval_namecache_dir(struct puffs_usermount *pu, void *cookie)
{
struct puffs_flush pf;
@ -64,7 +64,7 @@ puffs_inval_name_dir(struct puffs_usermount *pu, void *cookie)
}
int
puffs_inval_name_all(struct puffs_usermount *pu)
puffs_inval_namecache_all(struct puffs_usermount *pu)
{
struct puffs_flush pf;

View File

@ -1,4 +1,4 @@
/* $NetBSD: puffs.h,v 1.20 2007/01/09 18:15:08 pooka Exp $ */
/* $NetBSD: puffs.h,v 1.21 2007/01/09 18:19:01 pooka Exp $ */
/*
* Copyright (c) 2005, 2006 Antti Kantee. All Rights Reserved.
@ -423,8 +423,8 @@ int puffs_docc(struct puffs_putreq *, struct puffs_cc *);
* Flushing / invalidation routines
*/
int puffs_inval_name_dir(struct puffs_usermount *, void *);
int puffs_inval_name_all(struct puffs_usermount *);
int puffs_inval_namecache_dir(struct puffs_usermount *, void *);
int puffs_inval_namecache_all(struct puffs_usermount *);
__END_DECLS