union_vnops.c (98e0ffaefb0f241cda3a72395d3be04192ae0d47) union_vnops.c (411455a8fbcfbb51e60fb5f5d4a02d6e76c0a88c)
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.
5 * Copyright (c) 2005, 2006, 2012 Masanori Ozawa <ozawa@ongs.co.jp>, ONGS Inc.
6 * Copyright (c) 2006, 2012 Daichi Goto <daichi@freebsd.org>
7 * All rights reserved.
8 *

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

1748 printf("unionfs_vp=%p, uppervp=%p, lowervp=%p\n",
1749 ap->a_vp, unp->un_uppervp, unp->un_lowervp);
1750 /*
1751 printf("unionfs opencnt: uppervp=%d, lowervp=%d\n",
1752 unsp->uns_upper_opencnt, unsp->uns_lower_opencnt);
1753 */
1754
1755 if (unp->un_uppervp != NULLVP)
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.
5 * Copyright (c) 2005, 2006, 2012 Masanori Ozawa <ozawa@ongs.co.jp>, ONGS Inc.
6 * Copyright (c) 2006, 2012 Daichi Goto <daichi@freebsd.org>
7 * All rights reserved.
8 *

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

1748 printf("unionfs_vp=%p, uppervp=%p, lowervp=%p\n",
1749 ap->a_vp, unp->un_uppervp, unp->un_lowervp);
1750 /*
1751 printf("unionfs opencnt: uppervp=%d, lowervp=%d\n",
1752 unsp->uns_upper_opencnt, unsp->uns_lower_opencnt);
1753 */
1754
1755 if (unp->un_uppervp != NULLVP)
1756 vprint("unionfs: upper", unp->un_uppervp);
1756 vn_printf(unp->un_uppervp, "unionfs: upper ");
1757 if (unp->un_lowervp != NULLVP)
1757 if (unp->un_lowervp != NULLVP)
1758 vprint("unionfs: lower", unp->un_lowervp);
1758 vn_printf(unp->un_lowervp, "unionfs: lower ");
1759
1760 return (0);
1761}
1762
1763static int
1764unionfs_islocked(struct vop_islocked_args *ap)
1765{
1766 struct unionfs_node *unp;

--- 794 unchanged lines hidden ---
1759
1760 return (0);
1761}
1762
1763static int
1764unionfs_islocked(struct vop_islocked_args *ap)
1765{
1766 struct unionfs_node *unp;

--- 794 unchanged lines hidden ---