diff options
author | das <das@FreeBSD.org> | 2003-06-14 23:27:29 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2003-06-14 23:27:29 +0000 |
commit | c07dc83d2b107dd072974998fcc61754849dfecc (patch) | |
tree | f4a04e29ebf023c3b89978dd65428dc4eeaf47ae /sys/fs/unionfs/union.h | |
parent | 83f108b04dd3280195b5f0cf6bc2af10630e5f75 (diff) | |
download | FreeBSD-src-c07dc83d2b107dd072974998fcc61754849dfecc.zip FreeBSD-src-c07dc83d2b107dd072974998fcc61754849dfecc.tar.gz |
Factor out the process of freeing ``directory caches'', which unionfs
directory vnodes use to refer to their constituent vnodes, into
union_dircache_free(). Also s/union_dircache/union_dircache_get/ and
tweak the structure of union_dircache_r().
MFC after: 3 days
Diffstat (limited to 'sys/fs/unionfs/union.h')
-rw-r--r-- | sys/fs/unionfs/union.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union.h b/sys/fs/unionfs/union.h index 58afd21..caca116 100644 --- a/sys/fs/unionfs/union.h +++ b/sys/fs/unionfs/union.h @@ -108,7 +108,8 @@ extern int union_allocvp(struct vnode **, struct mount *, struct componentname *, struct vnode *, struct vnode *, int); extern int union_freevp(struct vnode *); -extern struct vnode *union_dircache(struct vnode *, struct thread *); +extern struct vnode *union_dircache_get(struct vnode *, struct thread *); +extern void union_dircache_free(struct union_node *); extern int union_copyup(struct union_node *, int, struct ucred *, struct thread *); extern int union_dowhiteout(struct union_node *, struct ucred *, |