[PATCH] udf : fix metadata/mirror address print

From: Namjae Jeon
Date: Mon Oct 31 2011 - 11:26:27 EST


I found some bug in Skip-mirror-metadata-FE-loading-when-metadata-FE-is-ok patch
So I try to fix metadata/mirror address print.

Signed-off-by: Namjae Jeon <linkinjeon@xxxxxxxxx>
Signed-off-by: Ashish Sangwan <ashishsangwan2@xxxxxxxxx>
---
fs/udf/super.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/udf/super.c b/fs/udf/super.c
index b4921ab..dfe043a 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -860,7 +860,7 @@ static int udf_load_metadata_files(struct super_block *sb, int partition)

/* metadata address */
udf_debug("Metadata file location: block = %d part = %d\n",
- addr.logicalBlockNum, addr.partitionReferenceNum);
+ mdata->s_meta_file_loc, map->s_partition_num);

mdata->s_metadata_fe = udf_find_metadata_inode_efe(sb,
mdata->s_meta_file_loc, map->s_partition_num);
@@ -868,7 +868,7 @@ static int udf_load_metadata_files(struct super_block *sb, int partition)
if (mdata->s_metadata_fe == NULL) {
/* mirror file entry */
udf_debug("Mirror metadata file location: block = %d part = %d\n",
- addr.logicalBlockNum, addr.partitionReferenceNum);
+ mdata->s_mirror_file_loc, map->s_partition_num);

mdata->s_mirror_fe = udf_find_metadata_inode_efe(sb,
mdata->s_mirror_file_loc, map->s_partition_num);
--
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/