udf: print an error for unsupported revisions
This commit is contained in:
@@ -525,7 +525,11 @@ walk_integrity_sequence(int device, uint32 blockSize, uint32 blockShift,
|
|||||||
}
|
}
|
||||||
if (!error)
|
if (!error)
|
||||||
error = lastDescriptorWasClosed ? B_OK : B_BAD_DATA;
|
error = lastDescriptorWasClosed ? B_OK : B_BAD_DATA;
|
||||||
if (!error)
|
if (error == B_OK
|
||||||
error = highestMinimumUDFReadRevision <= UDF_MAX_READ_REVISION ? B_OK : B_ERROR;
|
&& highestMinimumUDFReadRevision > UDF_MAX_READ_REVISION) {
|
||||||
|
error = B_ERROR;
|
||||||
|
FATAL(("found udf revision 0x%x more than max 0x%x\n",
|
||||||
|
highestMinimumUDFReadRevision, UDF_MAX_READ_REVISION));
|
||||||
|
}
|
||||||
RETURN(error);
|
RETURN(error);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user