freebsd-nq/sys/fs/nullfs
Jeff Roberson bc855512c8 - Assume that all lower filesystems now support proper locking. Assert
that they set v->v_vnlock.  This is true for all filesystems in the
   tree.
 - Remove all uses of LK_THISLAYER.  If the lower layer is locked, the
   null layer is locked.  We only use vget() to get a reference now.
   null essentially does no locking.  This fixes LOOKUP_SHARED with
   nullfs.
 - Remove the special LK_DRAIN considerations, I do not believe this is
   needed now as LK_DRAIN doesn't destroy the lower vnode's lock, and
   it's hardly used anymore.
 - Add one well commented hack to prevent the lowervp from going away
   while we're in it's VOP_LOCK routine.  This can only happen if we're
   forcibly unmounted while some callers are waiting in the lock.  In
   this case the lowervp could be recycled after we drop our last ref
   in null_reclaim().  Prevent this with a vhold().
2005-03-15 13:49:33 +00:00
..
null_subr.c - Assume that all lower filesystems now support proper locking. Assert 2005-03-15 13:49:33 +00:00
null_vfsops.c Remove the unused credential argument from VOP_FSYNC() and VFS_SYNC(). 2005-01-11 07:36:22 +00:00
null_vnops.c - Assume that all lower filesystems now support proper locking. Assert 2005-03-15 13:49:33 +00:00
null.h - Assume that all lower filesystems now support proper locking. Assert 2005-03-15 13:49:33 +00:00