/*
- * Copyright (c) 2000-2008 Apple Inc. All rights reserved.
+ * Copyright (c) 2000-2008, 2014 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
err = fsBTInvalidNodeErr;
printf ("hfs: BTIterateRecord() found invalid btree node on volume %s\n", FCBTOVCB(filePtr)->vcbVN);
- hfs_mark_volume_inconsistent(FCBTOVCB(filePtr));
+ hfs_mark_inconsistent(FCBTOVCB(filePtr), HFS_INCONSISTENCY_DETECTED);
goto ErrorExit;
}
{
err = fsBTInvalidNodeErr;
printf ("hfs: BTIterateRecord() found invalid btree node on volume %s\n", FCBTOVCB(filePtr)->vcbVN);
- hfs_mark_volume_inconsistent(FCBTOVCB(filePtr));
+ hfs_mark_inconsistent(FCBTOVCB(filePtr), HFS_INCONSISTENCY_DETECTED);
goto ErrorExit;
}
#endif
err = fsBTInvalidNodeErr;
printf ("hfs: BTIterateRecords() found invalid btree node on volume %s\n", FCBTOVCB(filePtr)->vcbVN);
- hfs_mark_volume_inconsistent(FCBTOVCB(filePtr));
+ hfs_mark_inconsistent(FCBTOVCB(filePtr), HFS_INCONSISTENCY_DETECTED);
goto ErrorExit;
}