summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2008-02-17 22:32:08 +0000
committeryar <yar@FreeBSD.org>2008-02-17 22:32:08 +0000
commitfe586f02db3de2754b0898b11ba08fbb41fc6a10 (patch)
tree920c5414c65cd0f539ee63ee97196008c11940a7 /tools
parent2acea74331feef81636f9a9f13dea7a7a7840669 (diff)
downloadFreeBSD-src-fe586f02db3de2754b0898b11ba08fbb41fc6a10.zip
FreeBSD-src-fe586f02db3de2754b0898b11ba08fbb41fc6a10.tar.gz
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.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud