diff options
author | eivind <eivind@FreeBSD.org> | 2000-11-01 17:57:24 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 2000-11-01 17:57:24 +0000 |
commit | 1afa7eea2714a80f7f460a084f2dd793df48a236 (patch) | |
tree | e76c1eb1295d99a1835b6c94989d187a908ac04f /sys/nfsclient | |
parent | c5ea795e5364897737ab564b5018fb9e8fae6027 (diff) | |
download | FreeBSD-src-1afa7eea2714a80f7f460a084f2dd793df48a236.zip FreeBSD-src-1afa7eea2714a80f7f460a084f2dd793df48a236.tar.gz |
Give vop_mmap an untimely death. The opportunity to give it a timely
death timed out in 1996.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 3d9f797..e5d3e4f 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -112,7 +112,6 @@ static int nfs_access __P((struct vop_access_args *)); static int nfs_getattr __P((struct vop_getattr_args *)); static int nfs_setattr __P((struct vop_setattr_args *)); static int nfs_read __P((struct vop_read_args *)); -static int nfs_mmap __P((struct vop_mmap_args *)); static int nfs_fsync __P((struct vop_fsync_args *)); static int nfs_remove __P((struct vop_remove_args *)); static int nfs_link __P((struct vop_link_args *)); @@ -155,7 +154,6 @@ static struct vnodeopv_entry_desc nfsv2_vnodeop_entries[] = { { &vop_lookup_desc, (vop_t *) nfs_lookup }, { &vop_mkdir_desc, (vop_t *) nfs_mkdir }, { &vop_mknod_desc, (vop_t *) nfs_mknod }, - { &vop_mmap_desc, (vop_t *) nfs_mmap }, { &vop_open_desc, (vop_t *) nfs_open }, { &vop_poll_desc, (vop_t *) nfs_poll }, { &vop_print_desc, (vop_t *) nfs_print }, @@ -2747,25 +2745,6 @@ nfs_strategy(ap) } /* - * Mmap a file - * - * NB Currently unsupported. - */ -/* ARGSUSED */ -static int -nfs_mmap(ap) - struct vop_mmap_args /* { - struct vnode *a_vp; - int a_fflags; - struct ucred *a_cred; - struct proc *a_p; - } */ *ap; -{ - - return (EINVAL); -} - -/* * fsync vnode op. Just call nfs_flush() with commit == 1. */ /* ARGSUSED */ |