summaryrefslogtreecommitdiffstats
path: root/sys/compat/freebsd32/freebsd32_misc.c
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2010-11-23 13:49:15 +0000
committerpluknet <pluknet@FreeBSD.org>2010-11-23 13:49:15 +0000
commit64dd3dbf397ac1c9033a04003311d3d0892dff73 (patch)
tree9c39bd2b0d210d81e4c9e38b4e8f993314845f8e /sys/compat/freebsd32/freebsd32_misc.c
parent618feb0bc8e257824c484cebc299c927f009b21c (diff)
downloadFreeBSD-src-64dd3dbf397ac1c9033a04003311d3d0892dff73.zip
FreeBSD-src-64dd3dbf397ac1c9033a04003311d3d0892dff73.tar.gz
Update MNT_ROOTFS comments after changes in the root mount logic.
Reported by: arundel Suggested by: marcel (phrasing) Approved by: kib (mentor)
Diffstat (limited to 'sys/compat/freebsd32/freebsd32_misc.c')
-rw-r--r--sys/compat/freebsd32/freebsd32_misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c
index 8da3833..326cf03 100644
--- a/sys/compat/freebsd32/freebsd32_misc.c
+++ b/sys/compat/freebsd32/freebsd32_misc.c
@@ -2365,7 +2365,8 @@ freebsd32_nmount(struct thread *td,
* Filter out MNT_ROOTFS. We do not want clients of nmount() in
* userspace to set this flag, but we must filter it out if we want
* MNT_UPDATE on the root file system to work.
- * MNT_ROOTFS should only be set in the kernel in vfs_mountroot_try().
+ * MNT_ROOTFS should only be set by the kernel when mounting its
+ * root file system.
*/
uap->flags &= ~MNT_ROOTFS;
OpenPOWER on IntegriCloud