cvs commit: src/sys/nfsclient nfs_vfsops.c
Yar Tikhiy
yar at FreeBSD.org
Sun Feb 17 14:32:08 PST 2008
yar 2008-02-17 22:32:08 UTC
FreeBSD src repository
Modified files:
sys/nfsclient nfs_vfsops.c
Log:
Prevent the NFS client from losing MNT_ROOTFS on the root
file system. In particular, stop overwriting mount point
flags in nfs_mountdiskless() because now they are set
elsewhere. (They were _initialized_ by that function in
the 4.4BSD days, when mount structures were not allocated
in a centralized manner -- see rev. 1.1 of this file.)
Fix nfs_mount(), which happened to depend on the loss of
MNT_ROOTFS when it came to update handling.
Also note that mountnfs() no longer handles updates. Now
they shouldn't reach this function, so printf a diagnostic
message if that happens due to a coding error.
Revision Changes Path
1.199 +6 -9 src/sys/nfsclient/nfs_vfsops.c
More information about the cvs-src
mailing list