summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2008-03-05 06:24:42 +0000
committerrodrigc <rodrigc@FreeBSD.org>2008-03-05 06:24:42 +0000
commit44702a8a45bbd9c71ef5e5d962789895f76c4af3 (patch)
tree5d4cf6f4e56c48dfbd591e982bd814679da4a370
parent1982e3e241079fc0b019a6ef6d0e0e5ec2a17d11 (diff)
downloadFreeBSD-src-44702a8a45bbd9c71ef5e5d962789895f76c4af3.zip
FreeBSD-src-44702a8a45bbd9c71ef5e5d962789895f76c4af3.tar.gz
Remove hacks to filter out MNT_ROOTFS, since we now
do that internally inside nmount() in revision 1.267 of vfs_mount.c.
-rw-r--r--sbin/fsck_ffs/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c
index 578716f..04c313c 100644
--- a/sbin/fsck_ffs/main.c
+++ b/sbin/fsck_ffs/main.c
@@ -339,11 +339,6 @@ checkfilesys(char *filesys)
snprintf(snapname, sizeof snapname,
"%s/.snap/fsck_snapshot", mntp->f_mntonname);
fflags = mntp->f_flags;
- /*
- * XXX: Need to kick out MNT_ROOTFS until we fix
- * nmount().
- */
- fflags &= ~MNT_ROOTFS;
fflags = fflags | MNT_UPDATE | MNT_SNAPSHOT;
build_iovec(&iov, &iovlen, "fstype", "ffs", 4);
build_iovec(&iov, &iovlen, "from", snapname,
@@ -537,11 +532,6 @@ chkdoreload(struct statfs *mntp)
* as safely as possible.
*/
if (mntp->f_flags & MNT_RDONLY) {
- /*
- * XXX: Need to kick out MNT_ROOTFS until we fix
- * nmount().
- */
- fflags &= ~MNT_ROOTFS;
fflags = fflags | MNT_UPDATE | MNT_RELOAD;
build_iovec(&iov, &iovlen, "fstype", "ffs", 4);
build_iovec(&iov, &iovlen, "from", mntp->f_mntfromname,
OpenPOWER on IntegriCloud