diff options
| author | KATO Takenori <kato@FreeBSD.org> | 1998-03-17 08:47:50 +0000 |
|---|---|---|
| committer | KATO Takenori <kato@FreeBSD.org> | 1998-03-17 08:47:50 +0000 |
| commit | b2bde4cb07542a61c25e889f08dce0e6855b122b (patch) | |
| tree | 9b6b3fa999044f47a5c4e3185c94821d86defd58 /sys/miscfs | |
| parent | b96ae93234c3d1f4ca470d9a3d2ff60bf7bcab33 (diff) | |
Notes
Diffstat (limited to 'sys/miscfs')
| -rw-r--r-- | sys/miscfs/union/union_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/union/union_vnops.c b/sys/miscfs/union/union_vnops.c index 627123c4db37..e9a7a760982f 100644 --- a/sys/miscfs/union/union_vnops.c +++ b/sys/miscfs/union/union_vnops.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)union_vnops.c 8.32 (Berkeley) 6/23/95 - * $Id: union_vnops.c,v 1.54 1998/02/10 03:32:07 kato Exp $ + * $Id: union_vnops.c,v 1.55 1998/02/26 03:23:56 kato Exp $ */ #include <sys/param.h> @@ -773,7 +773,7 @@ union_getattr(ap) if (vp == NULLVP) { vp = un->un_lowervp; - } else if (vp->v_type == VDIR) { + } else if (vp->v_type == VDIR && un->un_lowervp != NULLVP) { vp = un->un_lowervp; vap = &va; } else { |
