summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_vfsops.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-30 07:11:30 +0000
committerphk <phk@FreeBSD.org>1999-09-30 07:11:30 +0000
commit1fc218b67628314fd94ac6b188a33a35873298be (patch)
tree7bff0de5bba670be8a637e6365052b51a68ccb0e /sys/ufs/ffs/ffs_vfsops.c
parent4569b2fde6537a667bcff4d094e3cbab325134a8 (diff)
downloadFreeBSD-src-1fc218b67628314fd94ac6b188a33a35873298be.zip
FreeBSD-src-1fc218b67628314fd94ac6b188a33a35873298be.tar.gz
Remove the D_NOCLUSTER[RW] options which were added because vn had
problems. Now that Matt has fixed vn, this can go. The vn driver should have used d_maxio (now si_iosize_max) anyway.
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 2ec065f..16c4914 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -157,10 +157,6 @@ ffs_mount( mp, path, data, ndp, p)
return (err);
}
- if (devsw(rootdev)->d_flags & D_NOCLUSTERR)
- mp->mnt_flag |= MNT_NOCLUSTERR;
- if (devsw(rootdev)->d_flags & D_NOCLUSTERW)
- mp->mnt_flag |= MNT_NOCLUSTERW;
if( ( err = ffs_mountfs(rootvp, mp, p, M_FFSNODE)) != 0) {
/* fs specific cleanup (if any)*/
goto error_1;
@@ -184,8 +180,6 @@ ffs_mount( mp, path, data, ndp, p)
/*
* If updating, check whether changing from read-only to
* read/write; if there is no device name, that's all we do.
- * Disallow clearing MNT_NOCLUSTERR and MNT_NOCLUSTERW flags,
- * if block device requests.
*/
if (mp->mnt_flag & MNT_UPDATE) {
ump = VFSTOUFS(mp);
@@ -193,10 +187,6 @@ ffs_mount( mp, path, data, ndp, p)
devvp = ump->um_devvp;
err = 0;
ronly = fs->fs_ronly; /* MNT_RELOAD might change this */
- if (devsw(ump->um_dev)->d_flags & D_NOCLUSTERR)
- mp->mnt_flag |= MNT_NOCLUSTERR;
- if (devsw(ump->um_dev)->d_flags & D_NOCLUSTERW)
- mp->mnt_flag |= MNT_NOCLUSTERW;
if (ronly == 0 && (mp->mnt_flag & MNT_RDONLY)) {
flags = WRITECLOSE;
if (mp->mnt_flag & MNT_FORCE)
@@ -341,11 +331,6 @@ ffs_mount( mp, path, data, ndp, p)
********************
*/
- if (devsw(devvp->v_rdev)->d_flags & D_NOCLUSTERR)
- mp->mnt_flag |= MNT_NOCLUSTERR;
- if (devsw(devvp->v_rdev)->d_flags & D_NOCLUSTERW)
- mp->mnt_flag |= MNT_NOCLUSTERW;
-
/*
* Since this is a new mount, we want the names for
* the device and the mount point copied in. If an
OpenPOWER on IntegriCloud