null_vnops.c (218965) | null_vnops.c (227696) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * John Heidemann of the UCLA Ficus project. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 22 unchanged lines hidden (view full) --- 31 * 32 * @(#)null_vnops.c 8.6 (Berkeley) 5/27/95 33 * 34 * Ancestors: 35 * @(#)lofs_vnops.c 1.2 (Berkeley) 6/18/92 36 * ...and... 37 * @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project 38 * | 1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * John Heidemann of the UCLA Ficus project. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 22 unchanged lines hidden (view full) --- 31 * 32 * @(#)null_vnops.c 8.6 (Berkeley) 5/27/95 33 * 34 * Ancestors: 35 * @(#)lofs_vnops.c 1.2 (Berkeley) 6/18/92 36 * ...and... 37 * @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project 38 * |
39 * $FreeBSD: head/sys/fs/nullfs/null_vnops.c 218965 2011-02-23 09:22:33Z brucec $ | 39 * $FreeBSD: head/sys/fs/nullfs/null_vnops.c 227696 2011-11-19 07:41:37Z kib $ |
40 */ 41 42/* 43 * Null Layer 44 * 45 * (See mount_nullfs(8) for more information.) 46 * 47 * The null layer duplicates a portion of the filesystem --- 676 unchanged lines hidden (view full) --- 724 return (0); 725} 726 727static int 728null_print(struct vop_print_args *ap) 729{ 730 struct vnode *vp = ap->a_vp; 731 | 40 */ 41 42/* 43 * Null Layer 44 * 45 * (See mount_nullfs(8) for more information.) 46 * 47 * The null layer duplicates a portion of the filesystem --- 676 unchanged lines hidden (view full) --- 724 return (0); 725} 726 727static int 728null_print(struct vop_print_args *ap) 729{ 730 struct vnode *vp = ap->a_vp; 731 |
732 printf("\tvp=%p, lowervp=%p\n", vp, NULLVPTOLOWERVP(vp)); | 732 printf("\tvp=%p, lowervp=%p\n", vp, VTONULL(vp)->null_lowervp); |
733 return (0); 734} 735 736/* ARGSUSED */ 737static int 738null_getwritemount(struct vop_getwritemount_args *ap) 739{ 740 struct null_node *xp; --- 105 unchanged lines hidden --- | 733 return (0); 734} 735 736/* ARGSUSED */ 737static int 738null_getwritemount(struct vop_getwritemount_args *ap) 739{ 740 struct null_node *xp; --- 105 unchanged lines hidden --- |