Deleted Added
full compact
nfs_vfsops.c (101308) nfs_vfsops.c (101777)
1/*
2 * Copyright (c) 1989, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95
37 */
38
39#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1989, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95
37 */
38
39#include <sys/cdefs.h>
40__FBSDID("$FreeBSD: head/sys/nfsclient/nfs_vfsops.c 101308 2002-08-04 10:29:36Z jeff $");
40__FBSDID("$FreeBSD: head/sys/nfsclient/nfs_vfsops.c 101777 2002-08-13 10:05:50Z phk $");
41
42#include "opt_bootp.h"
43
44#include <sys/param.h>
45#include <sys/systm.h>
46#include <sys/kernel.h>
47#include <sys/lock.h>
48#include <sys/malloc.h>

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

89SYSCTL_INT(_vfs_nfs, OID_AUTO, debug, CTLFLAG_RW, &nfs_debug, 0, "");
90#endif
91
92static int nfs_iosize(struct nfsmount *nmp);
93static void nfs_decode_args(struct nfsmount *nmp, struct nfs_args *argp);
94static int mountnfs(struct nfs_args *, struct mount *,
95 struct sockaddr *, char *, char *, struct vnode **,
96 struct ucred *cred);
41
42#include "opt_bootp.h"
43
44#include <sys/param.h>
45#include <sys/systm.h>
46#include <sys/kernel.h>
47#include <sys/lock.h>
48#include <sys/malloc.h>

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

89SYSCTL_INT(_vfs_nfs, OID_AUTO, debug, CTLFLAG_RW, &nfs_debug, 0, "");
90#endif
91
92static int nfs_iosize(struct nfsmount *nmp);
93static void nfs_decode_args(struct nfsmount *nmp, struct nfs_args *argp);
94static int mountnfs(struct nfs_args *, struct mount *,
95 struct sockaddr *, char *, char *, struct vnode **,
96 struct ucred *cred);
97static int nfs_mount(struct mount *mp, char *path, caddr_t data,
98 struct nameidata *ndp, struct thread *td);
99static int nfs_unmount(struct mount *mp, int mntflags, struct thread *td);
100static int nfs_root(struct mount *mp, struct vnode **vpp);
101static int nfs_statfs(struct mount *mp, struct statfs *sbp,
102 struct thread *td);
103static int nfs_sync(struct mount *mp, int waitfor, struct ucred *cred,
104 struct thread *td);
97static vfs_mount_t nfs_mount;
98static vfs_unmount_t nfs_unmount;
99static vfs_root_t nfs_root;
100static vfs_statfs_t nfs_statfs;
101static vfs_sync_t nfs_sync;
105
106/*
107 * nfs vfs operations.
108 */
109static struct vfsops nfs_vfsops = {
110 nfs_mount,
111 vfs_stdstart,
112 nfs_unmount,

--- 893 unchanged lines hidden ---
102
103/*
104 * nfs vfs operations.
105 */
106static struct vfsops nfs_vfsops = {
107 nfs_mount,
108 vfs_stdstart,
109 nfs_unmount,

--- 893 unchanged lines hidden ---