Deleted Added
sdiff udiff text old ( 164248 ) new ( 166774 )
full compact
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 164248 2006-11-13 05:51:22Z kmacy $
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

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

703 vdrop(lowervp);
704 } else {
705 VI_UNLOCK(vp);
706 *(ap->a_mpp) = NULL;
707 }
708 return (0);
709}
710
711/*
712 * Global vfs data structures
713 */
714struct vop_vector null_vnodeops = {
715 .vop_bypass = null_bypass,
716 .vop_access = null_access,
717 .vop_bmap = VOP_EOPNOTSUPP,
718 .vop_getattr = null_getattr,

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

723 .vop_lookup = null_lookup,
724 .vop_open = null_open,
725 .vop_print = null_print,
726 .vop_reclaim = null_reclaim,
727 .vop_rename = null_rename,
728 .vop_setattr = null_setattr,
729 .vop_strategy = VOP_EOPNOTSUPP,
730 .vop_unlock = null_unlock,
731};