Deleted Added
full compact
null_vnops.c (41591) null_vnops.c (43305)
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

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

32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)null_vnops.c 8.6 (Berkeley) 5/27/95
37 *
38 * Ancestors:
39 * @(#)lofs_vnops.c 1.2 (Berkeley) 6/18/92
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

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

32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)null_vnops.c 8.6 (Berkeley) 5/27/95
37 *
38 * Ancestors:
39 * @(#)lofs_vnops.c 1.2 (Berkeley) 6/18/92
40 * $Id: null_vnops.c,v 1.29 1998/07/04 20:45:33 julian Exp $
40 * $Id: null_vnops.c,v 1.30 1998/12/07 21:58:32 archie Exp $
41 * ...and...
42 * @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project
43 *
41 * ...and...
42 * @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project
43 *
44 * $Id: null_vnops.c,v 1.29 1998/07/04 20:45:33 julian Exp $
44 * $Id: null_vnops.c,v 1.30 1998/12/07 21:58:32 archie Exp $
45 */
46
47/*
48 * Null Layer
49 *
50 * (See mount_null(8) for more information.)
51 *
52 * The null layer duplicates a portion of the file system

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

479 if (mode & VWRITE) {
480 switch (vp->v_type) {
481 case VDIR:
482 case VLNK:
483 case VREG:
484 if (vp->v_mount->mnt_flag & MNT_RDONLY)
485 return (EROFS);
486 break;
45 */
46
47/*
48 * Null Layer
49 *
50 * (See mount_null(8) for more information.)
51 *
52 * The null layer duplicates a portion of the file system

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

479 if (mode & VWRITE) {
480 switch (vp->v_type) {
481 case VDIR:
482 case VLNK:
483 case VREG:
484 if (vp->v_mount->mnt_flag & MNT_RDONLY)
485 return (EROFS);
486 break;
487 default:
488 break;
487 }
488 }
489 return (null_bypass((struct vop_generic_args *)ap));
490}
491
492/*
493 * We need to process our own vnode lock and then clear the
494 * interlock flag as it applies only to our vnode, not the

--- 173 unchanged lines hidden ---
489 }
490 }
491 return (null_bypass((struct vop_generic_args *)ap));
492}
493
494/*
495 * We need to process our own vnode lock and then clear the
496 * interlock flag as it applies only to our vnode, not the

--- 173 unchanged lines hidden ---