fix-partition-check-20070510

oops
This commit is contained in:
Frank Cusack 2007-05-10 23:41:32 +00:00 committed by Derrick Brashear
parent 7e0571b0e5
commit 08cbee9b2d

View File

@ -463,12 +463,12 @@ VAttachPartitions(void)
/* but allow zfs too if we're in the NAMEI environment */
if (
#ifdef AFS_NAMEI_ENV
((!strcmp(mnt.mnt_fstype, "ufs") &&
!strcmp(mnt.mnt_fstype, "zfs")))
((!(strcmp(mnt.mnt_fstype, "ufs") &&
strcmp(mnt.mnt_fstype, "zfs"))))
#else
(strcmp(mnt.mnt_fstype, "ufs") != 0)
(strcmp(mnt.mnt_fstype, "ufs") != 0)
#endif
|| (strncmp(mnt.mnt_mntopts, "ro,ignore", 9) == 0))
|| (strncmp(mnt.mnt_mntopts, "ro,ignore", 9) == 0))
continue;
/* If we're going to always attach this partition, do it later. */