summaryrefslogtreecommitdiffstats
path: root/lib/libbegemot/Makefile
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2009-07-19 16:44:26 +0000
committerrmacklem <rmacklem@FreeBSD.org>2009-07-19 16:44:26 +0000
commitdcc7a6b868e41acfda89eb8429fe77b97d900678 (patch)
treec0d963df90906a2f16151bb8ad77b6197b6ec4e7 /lib/libbegemot/Makefile
parent5113862d47a88010ff3040edeae45c0997c084ff (diff)
downloadFreeBSD-src-dcc7a6b868e41acfda89eb8429fe77b97d900678.zip
FreeBSD-src-dcc7a6b868e41acfda89eb8429fe77b97d900678.tar.gz
Fix two bugs in the experimental nfs client:
- When the root vnode was acquired during mounting, mnt_stat.f_iosize was still set to 0, so getnewvnode() would set bo_bsize == 0. This would confuse getblk(), so that it always returned the first block causing the problem when the root directory of the mount point was greater than one block in size. It was fixed by setting mnt_stat.f_iosize to NFS_DIRBLKSIZ before calling ncl_nget() to acquire the root vnode. - NFSMNT_INT was being set temporarily while the initial connect to a server was being done. This erroneously configured the krpc for interruptible RPCs, which caused problems because signals weren't being masked off as they would have been for interruptible mounts. This code was deleted to fix the problem. Since mount_nfs does an NFS null RPC before the mount system call, connections to the server should work ok. Tested by: swell dot k at gmail dot com Approved by: re (kensmith), kib (mentor)
Diffstat (limited to 'lib/libbegemot/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud