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/fs | |
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/fs')
-rw-r--r-- | sys/fs/cd9660/cd9660_vfsops.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index 050e99e..6fa36f4 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -185,8 +185,6 @@ cd9660_mount(mp, path, data, ndp, p) struct iso_mnt *imp = 0; if ((mp->mnt_flag & MNT_ROOTFS) != 0) { - if (devsw(rootdev)->d_flags & D_NOCLUSTERR) - mp->mnt_flag |= MNT_NOCLUSTERR; return (iso_mountroot(mp, p)); } if ((error = copyin(data, (caddr_t)&args, sizeof (struct iso_args)))) @@ -198,13 +196,9 @@ cd9660_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 flag, if block device requests. */ if (mp->mnt_flag & MNT_UPDATE) { imp = VFSTOISOFS(mp); - if (devsw(imp->im_devvp->v_rdev)->d_flags & - D_NOCLUSTERR) - mp->mnt_flag |= MNT_NOCLUSTERR; if (args.fspec == 0) return (vfs_export(mp, &imp->im_export, &args.export)); } @@ -238,8 +232,6 @@ cd9660_mount(mp, path, data, ndp, p) VOP_UNLOCK(devvp, 0, p); if ((mp->mnt_flag & MNT_UPDATE) == 0) { - if (devsw(devvp->v_rdev)->d_flags & D_NOCLUSTERR) - mp->mnt_flag |= MNT_NOCLUSTERR; error = iso_mountfs(devvp, mp, p, &args); } else { if (devvp != imp->im_devvp) |