diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2011-11-15 01:39:02 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2011-11-15 01:39:02 +0000 |
commit | c0dd2f4140acc8af8139c433025b5ac3ae96fe05 (patch) | |
tree | 8b299205bba5cd5746215b9ae88c85cfb64f58f5 /lib/libc/stdio/tmpnam.c | |
parent | c30b2078e1481172495244740df1cbc2657c7dac (diff) | |
download | FreeBSD-src-c0dd2f4140acc8af8139c433025b5ac3ae96fe05.zip FreeBSD-src-c0dd2f4140acc8af8139c433025b5ac3ae96fe05.tar.gz |
Move the setting of the default value for nm_wcommitsize to
before the nfs_decode_args() call in the new NFS client, so
that a specfied command line value won't be overwritten.
Also, modify the calculation for small values of desiredvnodes
to avoid an unusually large value or a divide by zero crash.
It seems that the default value for nm_wcommitsize is very
conservative and may need to change at some time.
PR: kern/159351
Submitted by: onwahe at gmail.com (earlier version)
Reviewed by: jhb
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdio/tmpnam.c')
0 files changed, 0 insertions, 0 deletions