Deleted Added
full compact
null_vnops.c (139984) null_vnops.c (140165)
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 139984 2005-01-10 13:09:33Z phk $
39 * $FreeBSD: head/sys/fs/nullfs/null_vnops.c 140165 2005-01-13 07:53:01Z phk $
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

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

291
292 }
293
294 /*
295 * Call the operation on the lower layer
296 * with the modified argument structure.
297 */
298 if (vps_p[0] && *vps_p[0])
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

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

291
292 }
293
294 /*
295 * Call the operation on the lower layer
296 * with the modified argument structure.
297 */
298 if (vps_p[0] && *vps_p[0])
299 error = VCALL(*(vps_p[0]), descp->vdesc_offset, ap);
299 error = VCALL(ap);
300 else {
301 printf("null_bypass: no map for %s\n", descp->vdesc_name);
302 error = EINVAL;
303 }
304
305 /*
306 * Maintain the illusion of call-by-value
307 * by restoring vnodes in the argument structure

--- 573 unchanged lines hidden ---
300 else {
301 printf("null_bypass: no map for %s\n", descp->vdesc_name);
302 error = EINVAL;
303 }
304
305 /*
306 * Maintain the illusion of call-by-value
307 * by restoring vnodes in the argument structure

--- 573 unchanged lines hidden ---