From 8b661a6175c52791c53885959328643fd46f0b8a Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 28 Feb 1999 16:13:25 +0000 Subject: This code got moved as a result of confusion between union mounts and unionfs. Julian has already revived the union mount part of this move in vfs_syscalls.c rev 1.119, but forgot to take it out of here. --- sys/miscfs/union/union_subr.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'sys/miscfs') diff --git a/sys/miscfs/union/union_subr.c b/sys/miscfs/union/union_subr.c index 7559b6e..5ced12f 100644 --- a/sys/miscfs/union/union_subr.c +++ b/sys/miscfs/union/union_subr.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)union_subr.c 8.20 (Berkeley) 5/20/95 - * $Id: union_subr.c,v 1.35 1998/12/07 21:58:34 archie Exp $ + * $Id: union_subr.c,v 1.36 1998/12/14 05:00:59 dillon Exp $ */ #include @@ -1183,15 +1183,6 @@ union_dircheck(struct proc *p, struct vnode **vp, struct file *fp) return -1; /* goto unionread */ } } - if (((*vp)->v_flag & VROOT) && ((*vp)->v_mount->mnt_flag & MNT_UNION)) { - struct vnode *tvp = *vp; - *vp = (*vp)->v_mount->mnt_vnodecovered; - VREF(*vp); - fp->f_data = (caddr_t) *vp; - fp->f_offset = 0; - vrele(tvp); - return -1; /* goto unionread */ - } return error; } -- cgit v1.1