summaryrefslogtreecommitdiff
path: root/sys/nfs4client
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2007-01-25 13:07:25 +0000
committerBruce Evans <bde@FreeBSD.org>2007-01-25 13:07:25 +0000
commite43982a80157e32edd0b3959552a343fdfd9ad77 (patch)
tree772c0073d1de70b0ce8ca09f64842cc6f2a7c106 /sys/nfs4client
parent4ae90ca5340d1d65313016861a46c18712d2de8f (diff)
Notes
Diffstat (limited to 'sys/nfs4client')
-rw-r--r--sys/nfs4client/nfs4_vfs_subs.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/nfs4client/nfs4_vfs_subs.c b/sys/nfs4client/nfs4_vfs_subs.c
index ced9e23954f8..6d667afa9fa0 100644
--- a/sys/nfs4client/nfs4_vfs_subs.c
+++ b/sys/nfs4client/nfs4_vfs_subs.c
@@ -65,24 +65,6 @@
#include <nfsclient/nfsnode.h>
-static int nfs_iosize(struct nfsmount *nmp);
-
-static int
-nfs_iosize(struct nfsmount *nmp)
-{
- int iosize;
-
- /*
- * Calculate the size used for io buffers. Use the larger
- * of the two sizes to minimise nfs requests but make sure
- * that it is at least one VM page to avoid wasting buffer
- * space.
- */
- iosize = max(nmp->nm_rsize, nmp->nm_wsize);
- if (iosize < PAGE_SIZE) iosize = PAGE_SIZE;
- return iosize;
-}
-
void
nfs4_vfsop_fsinfo(struct nfsv4_fattr *fap, struct nfsmount *nmp)
{