fixup fsid correctly in union_getattr
authorJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 16 Jun 1994 23:35:23 +0000 (15:35 -0800)
committerJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 16 Jun 1994 23:35:23 +0000 (15:35 -0800)
SCCS-vsn: sys/miscfs/union/union_vnops.c 8.16

usr/src/sys/miscfs/union/union_vnops.c

index 5836363..14d124b 100644 (file)
@@ -8,7 +8,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)union_vnops.c       8.15 (Berkeley) %G%
+ *     @(#)union_vnops.c       8.16 (Berkeley) %G%
  */
 
 #include <sys/param.h>
  */
 
 #include <sys/param.h>
@@ -570,7 +570,7 @@ union_getattr(ap)
        if ((vap != ap->a_vap) && (vap->va_type == VDIR))
                ap->a_vap->va_nlink += vap->va_nlink;
 
        if ((vap != ap->a_vap) && (vap->va_type == VDIR))
                ap->a_vap->va_nlink += vap->va_nlink;
 
-       vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0];
+       ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0];
        return (0);
 }
 
        return (0);
 }