diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2008-03-05 06:24:42 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2008-03-05 06:24:42 +0000 |
commit | 44702a8a45bbd9c71ef5e5d962789895f76c4af3 (patch) | |
tree | 5d4cf6f4e56c48dfbd591e982bd814679da4a370 /sbin/fsck_ffs/main.c | |
parent | 1982e3e241079fc0b019a6ef6d0e0e5ec2a17d11 (diff) | |
download | FreeBSD-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.
Diffstat (limited to 'sbin/fsck_ffs/main.c')
-rw-r--r-- | sbin/fsck_ffs/main.c | 10 |
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, |