diff options
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 15 |
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 |