Since our default boot block now supports UFS1 and UFS2 even on
i386, remove the seatbelt preventing users from setting the UFS2 flag on the root file system on i386. This seatbelt did not exist on other platforms. MFC candidate.
This commit is contained in:
parent
3a802b19f9
commit
ca398224ee
@ -879,13 +879,8 @@ diskLabel(Device *dev)
|
||||
|
||||
if ((pi != NULL) &&
|
||||
(pi->newfs_type == NEWFS_UFS)) {
|
||||
#ifdef __i386__
|
||||
if (label_chunk_info[here].c->flags & CHUNK_IS_ROOT)
|
||||
msg = MSG_NOT_APPLICABLE;
|
||||
else
|
||||
#endif
|
||||
pi->newfs_data.newfs_ufs.ufs2 =
|
||||
!pi->newfs_data.newfs_ufs.ufs2;
|
||||
pi->newfs_data.newfs_ufs.ufs2 =
|
||||
!pi->newfs_data.newfs_ufs.ufs2;
|
||||
} else
|
||||
msg = MSG_NOT_APPLICABLE;
|
||||
} else
|
||||
|
@ -879,13 +879,8 @@ diskLabel(Device *dev)
|
||||
|
||||
if ((pi != NULL) &&
|
||||
(pi->newfs_type == NEWFS_UFS)) {
|
||||
#ifdef __i386__
|
||||
if (label_chunk_info[here].c->flags & CHUNK_IS_ROOT)
|
||||
msg = MSG_NOT_APPLICABLE;
|
||||
else
|
||||
#endif
|
||||
pi->newfs_data.newfs_ufs.ufs2 =
|
||||
!pi->newfs_data.newfs_ufs.ufs2;
|
||||
pi->newfs_data.newfs_ufs.ufs2 =
|
||||
!pi->newfs_data.newfs_ufs.ufs2;
|
||||
} else
|
||||
msg = MSG_NOT_APPLICABLE;
|
||||
} else
|
||||
|
Loading…
x
Reference in New Issue
Block a user