From 17b66e62ef02771fe973c4903ad70f069d1841a4 Mon Sep 17 00:00:00 2001 From: Tyler Dauwalder Date: Fri, 12 Dec 2003 06:37:29 +0000 Subject: [PATCH] Fixed stupid oversight while checking file set descriptor in Mount() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5656 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/udf/Volume.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/udf/Volume.cpp b/src/add-ons/kernel/file_systems/udf/Volume.cpp index ef0815a6fe..d0f25589ca 100644 --- a/src/add-ons/kernel/file_systems/udf/Volume.cpp +++ b/src/add-ons/kernel/file_systems/udf/Volume.cpp @@ -228,10 +228,12 @@ Volume::Mount(const char *deviceName, off_t offset, off_t length, if (!error) { file_set_descriptor *fileSet = reinterpret_cast(chunk.Data()); + PDUMP(fileSet); error = fileSet->tag().id() == TAGID_FILE_SET_DESCRIPTOR ? B_OK : B_ERROR; if (!error) - error = fileSet->tag().init_check(0); + error = fileSet->tag().init_check( + logicalVolumeDescriptor.file_set_address().block()); if (!error) { PDUMP(fileSet); fRootIcb = new Icb(this, fileSet->root_directory_icb());