diff options
author | phk <phk@FreeBSD.org> | 1999-09-30 07:11:30 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-09-30 07:11:30 +0000 |
commit | 1fc218b67628314fd94ac6b188a33a35873298be (patch) | |
tree | 7bff0de5bba670be8a637e6365052b51a68ccb0e /sys/gnu/ext2fs | |
parent | 4569b2fde6537a667bcff4d094e3cbab325134a8 (diff) | |
download | FreeBSD-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/gnu/ext2fs')
-rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 7da44f9..4d68ecb 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -135,10 +135,6 @@ ext2_mountroot() bzero((char *)mp, (u_long)sizeof(struct mount)); mp->mnt_op = &ext2fs_vfsops; mp->mnt_flag = MNT_RDONLY; - 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 (error = ext2_mountfs(rootvp, mp, p)) { bsd_free(mp, M_MOUNT); return (error); @@ -193,17 +189,11 @@ ext2_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); fs = ump->um_e2fs; error = 0; - 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 (fs->s_rd_only == 0 && (mp->mnt_flag & MNT_RDONLY)) { flags = WRITECLOSE; if (mp->mnt_flag & MNT_FORCE) @@ -293,10 +283,6 @@ ext2_mount(mp, path, data, ndp, p) } if ((mp->mnt_flag & MNT_UPDATE) == 0) { - 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; error = ext2_mountfs(devvp, mp, p); } else { if (devvp != ump->um_devvp) |