Date: Sun, 17 Feb 2008 22:32:08 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_vfsops.c Message-ID: <200802172232.m1HMW84Z095391@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802172232.m1HMW84Z095391>