Deleted Added
full compact
fdesc_vfsops.c (220400) fdesc_vfsops.c (230249)
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

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

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94
33 *
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

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

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94
33 *
34 * $FreeBSD: head/sys/fs/fdescfs/fdesc_vfsops.c 220400 2011-04-06 19:13:04Z trasz $
34 * $FreeBSD: head/sys/fs/fdescfs/fdesc_vfsops.c 230249 2012-01-17 01:08:01Z mckusick $
35 */
36
37/*
38 * /dev/fd Filesystem
39 */
40
41#include <sys/param.h>
42#include <sys/systm.h>

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

60static vfs_unmount_t fdesc_unmount;
61static vfs_statfs_t fdesc_statfs;
62static vfs_root_t fdesc_root;
63
64/*
65 * Compatibility shim for old mount(2) system call.
66 */
67int
35 */
36
37/*
38 * /dev/fd Filesystem
39 */
40
41#include <sys/param.h>
42#include <sys/systm.h>

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

60static vfs_unmount_t fdesc_unmount;
61static vfs_statfs_t fdesc_statfs;
62static vfs_root_t fdesc_root;
63
64/*
65 * Compatibility shim for old mount(2) system call.
66 */
67int
68fdesc_cmount(struct mntarg *ma, void *data, int flags)
68fdesc_cmount(struct mntarg *ma, void *data, uint64_t flags)
69{
70 return kernel_mount(ma, flags);
71}
72
73/*
74 * Mount the per-process file descriptors (/dev/fd)
75 */
76static int

--- 167 unchanged lines hidden ---
69{
70 return kernel_mount(ma, flags);
71}
72
73/*
74 * Mount the per-process file descriptors (/dev/fd)
75 */
76static int

--- 167 unchanged lines hidden ---