aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-09-30 07:11:30 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-09-30 07:11:30 +0000
commitb89392e703d5c84382872dfba236bebc6672eaa6 (patch)
tree715265ba3f7f3ccad1bfa65e74720ec152e5610b /sys/fs
parent46a706dc69122a9d09f33bcfeb6169a26ca37722 (diff)
Notes
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 050e99ea21f6..6fa36f46708c 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)