[871] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Re: AFS union mounts

daemon@ATHENA.MIT.EDU (John Kohl)
Sun Jul 9 22:45:30 1995

Date: Sun, 9 Jul 1995 22:45:17 -0400
From: John Kohl <jtk@atria.com>
To: ghudson@MIT.EDU, netbsd-afs@MIT.EDU
Cc: mycroft@MIT.EDU
In-Reply-To: <9507100007.AA03106@opus.MIT.EDU> (ghudson@MIT.EDU)

This is some truly bogus code in the union file system.  This particular
code fragment is straight out of 4.4BSD-Lite

It is using an AFS vnode and trying to interpret its mount point
information as a union node.  (I guess other filesystems just have
random gunk linked off of mp->mnt_data, which causes comparisions
against bogosity but no ill effects).

See union_access() where it fetches a MOUNTTOUNIONMOUNT() from the lower
vnode pointer.

I'll try to figure out what it really wants to do, and try to fix it.  I
can't test it at home, but I'll send patches to Greg to try out.

==John

home help back first fref pref prev next nref lref last post