Deleted Added
full compact
pseudofs.c (77965) pseudofs.c (77998)
1/*-
2 * Copyright (c) 2001 Dag-Erling Co�dan Sm�rgrav
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 2001 Dag-Erling Co�dan Sm�rgrav
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/fs/pseudofs/pseudofs.c 77965 2001-06-10 10:36:16Z des $
28 * $FreeBSD: head/sys/fs/pseudofs/pseudofs.c 77998 2001-06-10 18:39:21Z des $
29 */
30
31#include <sys/param.h>
32#include <sys/kernel.h>
33#include <sys/systm.h>
34#include <sys/malloc.h>
35#include <sys/module.h>
36#include <sys/mount.h>

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

96 * Return a root vnode
97 */
98int
99pfs_root(struct mount *mp, struct vnode **vpp)
100{
101 struct pfs_info *pi;
102
103 pi = (struct pfs_info *)mp->mnt_data;
29 */
30
31#include <sys/param.h>
32#include <sys/kernel.h>
33#include <sys/systm.h>
34#include <sys/malloc.h>
35#include <sys/module.h>
36#include <sys/mount.h>

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

96 * Return a root vnode
97 */
98int
99pfs_root(struct mount *mp, struct vnode **vpp)
100{
101 struct pfs_info *pi;
102
103 pi = (struct pfs_info *)mp->mnt_data;
104 return pfs_vncache_alloc(mp, vpp, pi->pi_root);
104 return pfs_vncache_alloc(mp, vpp, pi->pi_root, NO_PID);
105}
106
107/*
108 * Return filesystem stats
109 */
110int
111pfs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
112{

--- 61 unchanged lines hidden ---
105}
106
107/*
108 * Return filesystem stats
109 */
110int
111pfs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
112{

--- 61 unchanged lines hidden ---