Deleted Added
full compact
null_vfsops.c (103934) null_vfsops.c (109623)
1/*
2 * Copyright (c) 1992, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software donated to Berkeley by
6 * Jan-Simon Pendry.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
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_vfsops.c 8.2 (Berkeley) 1/21/94
37 *
38 * @(#)lofs_vfsops.c 1.2 (Berkeley) 6/18/92
1/*
2 * Copyright (c) 1992, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software donated to Berkeley by
6 * Jan-Simon Pendry.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
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_vfsops.c 8.2 (Berkeley) 1/21/94
37 *
38 * @(#)lofs_vfsops.c 1.2 (Berkeley) 6/18/92
39 * $FreeBSD: head/sys/fs/nullfs/null_vfsops.c 103934 2002-09-25 02:28:07Z jeff $
39 * $FreeBSD: head/sys/fs/nullfs/null_vfsops.c 109623 2003-01-21 08:56:16Z alfred $
40 */
41
42/*
43 * Null Layer
44 * (See null_vnops.c for a description of what this does.)
45 */
46
47#include <sys/param.h>

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

153 */
154 if (lowerrootvp == VTONULL(mp->mnt_vnodecovered)->null_lowervp) {
155 NULLFSDEBUG("nullfs_mount: multi null mount?\n");
156 vput(lowerrootvp);
157 return (EDEADLK);
158 }
159
160 xmp = (struct null_mount *) malloc(sizeof(struct null_mount),
40 */
41
42/*
43 * Null Layer
44 * (See null_vnops.c for a description of what this does.)
45 */
46
47#include <sys/param.h>

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

153 */
154 if (lowerrootvp == VTONULL(mp->mnt_vnodecovered)->null_lowervp) {
155 NULLFSDEBUG("nullfs_mount: multi null mount?\n");
156 vput(lowerrootvp);
157 return (EDEADLK);
158 }
159
160 xmp = (struct null_mount *) malloc(sizeof(struct null_mount),
161 M_NULLFSMNT, M_WAITOK); /* XXX */
161 M_NULLFSMNT, 0); /* XXX */
162
163 /*
164 * Save reference to underlying FS
165 */
166 xmp->nullm_vfs = lowerrootvp->v_mount;
167
168 /*
169 * Save reference. Each mount also holds

--- 260 unchanged lines hidden ---
162
163 /*
164 * Save reference to underlying FS
165 */
166 xmp->nullm_vfs = lowerrootvp->v_mount;
167
168 /*
169 * Save reference. Each mount also holds

--- 260 unchanged lines hidden ---