summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_subs.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2000-01-13 20:18:25 +0000
committerdillon <dillon@FreeBSD.org>2000-01-13 20:18:25 +0000
commit9bba72b2a3059635c1811a43f643e6abee935a84 (patch)
treea3f57539ddd2ae7f78c2b2230e4da3101152107c /sys/nfsclient/nfs_subs.c
parent6a2872ace4189b559e466d1f9fb6bd19af555d47 (diff)
downloadFreeBSD-src-9bba72b2a3059635c1811a43f643e6abee935a84.zip
FreeBSD-src-9bba72b2a3059635c1811a43f643e6abee935a84.tar.gz
The alpha build cuases the 'nfsuid bloated' warning to occur. Well,
there is nothing we can do about it. In fact, after further review there simply are not very many instances of the two structures NFS checks for 'bloat' so I've decided to simply rip the checks out entirely. Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
Diffstat (limited to 'sys/nfsclient/nfs_subs.c')
-rw-r--r--sys/nfsclient/nfs_subs.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/nfsclient/nfs_subs.c b/sys/nfsclient/nfs_subs.c
index 50bd75a..28fce31 100644
--- a/sys/nfsclient/nfs_subs.c
+++ b/sys/nfsclient/nfs_subs.c
@@ -1107,17 +1107,6 @@ nfs_init(vfsp)
nfsmount_zone = zinit("NFSMOUNT", sizeof(struct nfsmount), 0, 0, 1);
- /*
- * Check to see if major data structures haven't bloated.
- */
- if (sizeof (struct nfssvc_sock) > NFS_SVCALLOC) {
- printf("struct nfssvc_sock bloated (> %dbytes)\n",NFS_SVCALLOC);
- printf("Try reducing NFS_UIDHASHSIZ\n");
- }
- if (sizeof (struct nfsuid) > NFS_UIDALLOC) {
- printf("struct nfsuid bloated (> %dbytes)\n",NFS_UIDALLOC);
- printf("Try unionizing the nu_nickname and nu_flag fields\n");
- }
nfs_mount_type = vfsp->vfc_typenum;
nfsrtt.pos = 0;
rpc_vers = txdr_unsigned(RPC_VER2);
OpenPOWER on IntegriCloud