null_vnops.c (295717) | null_vnops.c (298806) |
---|---|
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 295717 2016-02-17 19:43:03Z kib $ | 39 * $FreeBSD: head/sys/fs/nullfs/null_vnops.c 298806 2016-04-29 20:51:24Z pfg $ |
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 --- 64 unchanged lines hidden (view full) --- 112 * effect stacking two VFSes. Vnode stacks are instead 113 * created on demand as files are accessed. 114 * 115 * The initial mount creates a single vnode stack for the 116 * root of the new null layer. All other vnode stacks 117 * are created as a result of vnode operations on 118 * this or other null vnode stacks. 119 * | 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 --- 64 unchanged lines hidden (view full) --- 112 * effect stacking two VFSes. Vnode stacks are instead 113 * created on demand as files are accessed. 114 * 115 * The initial mount creates a single vnode stack for the 116 * root of the new null layer. All other vnode stacks 117 * are created as a result of vnode operations on 118 * this or other null vnode stacks. 119 * |
120 * New vnode stacks come into existance as a result of | 120 * New vnode stacks come into existence as a result of |
121 * an operation which returns a vnode. 122 * The bypass routine stacks a null-node above the new 123 * vnode before returning it to the caller. 124 * 125 * For example, imagine mounting a null layer with 126 * "mount_nullfs /usr/include /dev/layer/null". 127 * Changing directory to /dev/layer/null will assign 128 * the root null-node (which was created when the null layer was mounted). --- 810 unchanged lines hidden --- | 121 * an operation which returns a vnode. 122 * The bypass routine stacks a null-node above the new 123 * vnode before returning it to the caller. 124 * 125 * For example, imagine mounting a null layer with 126 * "mount_nullfs /usr/include /dev/layer/null". 127 * Changing directory to /dev/layer/null will assign 128 * the root null-node (which was created when the null layer was mounted). --- 810 unchanged lines hidden --- |