Deleted Added
full compact
ffs_vnops.c (92250) ffs_vnops.c (92728)
1/*
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. 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

--- 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 * @(#)ffs_vnops.c 8.15 (Berkeley) 5/14/95
1/*
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. 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

--- 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 * @(#)ffs_vnops.c 8.15 (Berkeley) 5/14/95
34 * $FreeBSD: head/sys/ufs/ffs/ffs_vnops.c 92250 2002-03-14 01:21:13Z mckusick $
34 * $FreeBSD: head/sys/ufs/ffs/ffs_vnops.c 92728 2002-03-19 22:40:48Z alfred $
35 */
36
37#include "opt_ufs.h"
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/resourcevar.h>
42#include <sys/signalvar.h>

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

60#include <ufs/ufs/quota.h>
61#include <ufs/ufs/inode.h>
62#include <ufs/ufs/ufsmount.h>
63#include <ufs/ufs/ufs_extern.h>
64
65#include <ufs/ffs/fs.h>
66#include <ufs/ffs/ffs_extern.h>
67
35 */
36
37#include "opt_ufs.h"
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/resourcevar.h>
42#include <sys/signalvar.h>

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

60#include <ufs/ufs/quota.h>
61#include <ufs/ufs/inode.h>
62#include <ufs/ufs/ufsmount.h>
63#include <ufs/ufs/ufs_extern.h>
64
65#include <ufs/ffs/fs.h>
66#include <ufs/ffs/ffs_extern.h>
67
68int ffs_fsync __P((struct vop_fsync_args *));
69static int ffs_getpages __P((struct vop_getpages_args *));
70static int ffs_read __P((struct vop_read_args *));
71static int ffs_write __P((struct vop_write_args *));
68int ffs_fsync(struct vop_fsync_args *);
69static int ffs_getpages(struct vop_getpages_args *);
70static int ffs_read(struct vop_read_args *);
71static int ffs_write(struct vop_write_args *);
72
73/* Global vfs data structures for ufs. */
74vop_t **ffs_vnodeop_p;
75static struct vnodeopv_entry_desc ffs_vnodeop_entries[] = {
76 { &vop_default_desc, (vop_t *) ufs_vnoperate },
77 { &vop_fsync_desc, (vop_t *) ffs_fsync },
78 { &vop_getpages_desc, (vop_t *) ffs_getpages },
79 { &vop_read_desc, (vop_t *) ffs_read },

--- 206 unchanged lines hidden ---
72
73/* Global vfs data structures for ufs. */
74vop_t **ffs_vnodeop_p;
75static struct vnodeopv_entry_desc ffs_vnodeop_entries[] = {
76 { &vop_default_desc, (vop_t *) ufs_vnoperate },
77 { &vop_fsync_desc, (vop_t *) ffs_fsync },
78 { &vop_getpages_desc, (vop_t *) ffs_getpages },
79 { &vop_read_desc, (vop_t *) ffs_read },

--- 206 unchanged lines hidden ---