Searched hist:195762 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clvfsops.cdiff 195762 Sun Jul 19 14:55:48 MDT 2009 rmacklem 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)

Completed in 100 milliseconds