union_vnops.c (b7ef0b1281f6956c7fc55ad7fa913f943970e64e) union_vnops.c (10cf882b4f1ccaa66ea07a85b31afc4822da10ab)
1/*
2 * Copyright (c) 1992, 1993, 1994, 1995 Jan-Simon Pendry.
3 * Copyright (c) 1992, 1993, 1994, 1995
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Jan-Simon Pendry.
8 *

--- 1788 unchanged lines hidden (view full) ---

1797 struct proc *a_p;
1798 } */ *ap;
1799{
1800#if 0
1801 struct union_node *un = VTOUNION(ap->a_vp);
1802#endif
1803 int error;
1804
1/*
2 * Copyright (c) 1992, 1993, 1994, 1995 Jan-Simon Pendry.
3 * Copyright (c) 1992, 1993, 1994, 1995
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Jan-Simon Pendry.
8 *

--- 1788 unchanged lines hidden (view full) ---

1797 struct proc *a_p;
1798 } */ *ap;
1799{
1800#if 0
1801 struct union_node *un = VTOUNION(ap->a_vp);
1802#endif
1803 int error;
1804
1805#if 0
1805 KASSERT((un->un_uppervp == NULL || un->un_uppervp->v_usecount > 0), ("uppervp usecount is 0"));
1806 KASSERT((un->un_uppervp == NULL || un->un_uppervp->v_usecount > 0), ("uppervp usecount is 0"));
1807#endif
1806
1807 error = vop_stdunlock(ap);
1808#if 0
1809
1810 /*
1811 * If no exclusive locks remain and we are holding an uppervp lock,
1812 * remove the uppervp lock.
1813 */

--- 169 unchanged lines hidden ---
1808
1809 error = vop_stdunlock(ap);
1810#if 0
1811
1812 /*
1813 * If no exclusive locks remain and we are holding an uppervp lock,
1814 * remove the uppervp lock.
1815 */

--- 169 unchanged lines hidden ---