diff options
author | peter <peter@FreeBSD.org> | 1998-11-03 08:01:48 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-11-03 08:01:48 +0000 |
commit | 7819a9450ea8a3c51cd84b12f32ee698bca2da34 (patch) | |
tree | 8dd795b23499327af179132647fef4d1e83944fd /sys/fs/unionfs/union.h | |
parent | da2bac6a4930ddeb7bbc0c9c2135009d3a9590eb (diff) | |
download | FreeBSD-src-7819a9450ea8a3c51cd84b12f32ee698bca2da34.zip FreeBSD-src-7819a9450ea8a3c51cd84b12f32ee698bca2da34.tar.gz |
Change the #ifdef UNION code into a callable hook. Arrange to have this
set up when unionfs is present, either statically or as a kld module.
Diffstat (limited to 'sys/fs/unionfs/union.h')
-rw-r--r-- | sys/fs/unionfs/union.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union.h b/sys/fs/unionfs/union.h index 4deb6d4..6a4aa22 100644 --- a/sys/fs/unionfs/union.h +++ b/sys/fs/unionfs/union.h @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)union.h 8.9 (Berkeley) 12/10/94 - * $Id: union.h,v 1.11 1998/02/10 03:32:03 kato Exp $ + * $Id: union.h,v 1.12 1998/02/26 03:23:51 kato Exp $ */ struct union_args { @@ -114,6 +114,9 @@ extern void union_removed_upper __P((struct union_node *un)); extern struct vnode *union_lowervp __P((struct vnode *)); extern void union_newsize __P((struct vnode *, off_t, off_t)); +extern int (*union_dircheckp) __P((struct proc *, struct vnode **, + struct file *)); + #define MOUNTTOUNIONMOUNT(mp) ((struct union_mount *)((mp)->mnt_data)) #define VTOUNION(vp) ((struct union_node *)(vp)->v_data) #define UNIONTOV(un) ((un)->un_vnode) |