union_vfsops.c (145586) | union_vfsops.c (151897) |
---|---|
1/*- 2 * Copyright (c) 1994, 1995 The Regents of the University of California. 3 * Copyright (c) 1994, 1995 Jan-Simon Pendry. 4 * All rights reserved. 5 * 6 * This code is derived from software donated to Berkeley by 7 * Jan-Simon Pendry. 8 * --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)union_vfsops.c 8.20 (Berkeley) 5/20/95 | 1/*- 2 * Copyright (c) 1994, 1995 The Regents of the University of California. 3 * Copyright (c) 1994, 1995 Jan-Simon Pendry. 4 * All rights reserved. 5 * 6 * This code is derived from software donated to Berkeley by 7 * Jan-Simon Pendry. 8 * --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)union_vfsops.c 8.20 (Berkeley) 5/20/95 |
34 * $FreeBSD: head/sys/fs/unionfs/union_vfsops.c 145586 2005-04-27 09:07:13Z jeff $ | 34 * $FreeBSD: head/sys/fs/unionfs/union_vfsops.c 151897 2005-10-31 15:41:29Z rwatson $ |
35 */ 36 37/* 38 * Union Layer 39 */ 40 41#include <sys/param.h> 42#include <sys/systm.h> 43#include <sys/kernel.h> 44#include <sys/lock.h> 45#include <sys/mutex.h> 46#include <sys/proc.h> 47#include <sys/vnode.h> 48#include <sys/mount.h> 49#include <sys/namei.h> 50#include <sys/malloc.h> 51#include <sys/filedesc.h> 52#include <fs/unionfs/union.h> 53 | 35 */ 36 37/* 38 * Union Layer 39 */ 40 41#include <sys/param.h> 42#include <sys/systm.h> 43#include <sys/kernel.h> 44#include <sys/lock.h> 45#include <sys/mutex.h> 46#include <sys/proc.h> 47#include <sys/vnode.h> 48#include <sys/mount.h> 49#include <sys/namei.h> 50#include <sys/malloc.h> 51#include <sys/filedesc.h> 52#include <fs/unionfs/union.h> 53 |
54static MALLOC_DEFINE(M_UNIONFSMNT, "UNION mount", "UNION mount structure"); | 54static MALLOC_DEFINE(M_UNIONFSMNT, "union_mount", "UNION mount structure"); |
55 56extern vfs_init_t union_init; 57static vfs_root_t union_root; 58static vfs_mount_t union_mount; 59static vfs_statfs_t union_statfs; 60static vfs_unmount_t union_unmount; 61 62/* --- 415 unchanged lines hidden --- | 55 56extern vfs_init_t union_init; 57static vfs_root_t union_root; 58static vfs_mount_t union_mount; 59static vfs_statfs_t union_statfs; 60static vfs_unmount_t union_unmount; 61 62/* --- 415 unchanged lines hidden --- |