mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
fix-partition-check-20070510
oops
This commit is contained in:
parent
7e0571b0e5
commit
08cbee9b2d
@ -463,14 +463,14 @@ VAttachPartitions(void)
|
|||||||
/* but allow zfs too if we're in the NAMEI environment */
|
/* but allow zfs too if we're in the NAMEI environment */
|
||||||
if (
|
if (
|
||||||
#ifdef AFS_NAMEI_ENV
|
#ifdef AFS_NAMEI_ENV
|
||||||
((!strcmp(mnt.mnt_fstype, "ufs") &&
|
((!(strcmp(mnt.mnt_fstype, "ufs") &&
|
||||||
!strcmp(mnt.mnt_fstype, "zfs")))
|
strcmp(mnt.mnt_fstype, "zfs"))))
|
||||||
#else
|
#else
|
||||||
(strcmp(mnt.mnt_fstype, "ufs") != 0)
|
(strcmp(mnt.mnt_fstype, "ufs") != 0)
|
||||||
#endif
|
#endif
|
||||||
|| (strncmp(mnt.mnt_mntopts, "ro,ignore", 9) == 0))
|
|| (strncmp(mnt.mnt_mntopts, "ro,ignore", 9) == 0))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* If we're going to always attach this partition, do it later. */
|
/* If we're going to always attach this partition, do it later. */
|
||||||
if (VIsAlwaysAttach(mnt.mnt_mountp))
|
if (VIsAlwaysAttach(mnt.mnt_mountp))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user