Revision 69978

Date:
1995/06/23 13:48:08
Author:
pendry
Revision Log:
bandaid to avoid unlock panic until we do it right;
trivia: this was the final delta done by CSRG

Files:

Legend:

 
Added
 
Removed
 
Modified
  • sys/miscfs/union/union_vnops.c

     
    8 8 *
    9 9 * %sccs.include.redist.c%
    10 10 *
    11 * @(#)union_vnops.c 8.31 (Berkeley) 05/22/95
    11 * @(#)union_vnops.c 8.32 (Berkeley) 06/23/95
    12 12 */
    13 13
    14 14 #include <sys/param.h>
     
    1343 1343
    1344 1344
    1345 1345 vop_nolock(ap);
    1346 /*
    1347 * Need to do real lockmgr-style locking here.
    1348 * in the mean time, draining won't work quite right,
    1349 * which could lead to a few race conditions.
    1350 * the following test was here, but is not quite right, we
    1351 * still need to take the lock:
    1346 1352 if ((flags & LK_TYPE_MASK) == LK_DRAIN)
    1347 1353 return (0);
    1354 */
    1348 1355 flags &= ~LK_INTERLOCK;
    1349 1356
    1350 1357 start: