[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1320074740-1923-1-git-send-email-linkinjeon@gmail.com>
Date: Tue, 1 Nov 2011 00:25:40 +0900
From: Namjae Jeon <linkinjeon@...il.com>
To: jack@...e.cz
Cc: linux-kernel@...r.kernel.org, Namjae Jeon <linkinjeon@...il.com>,
Ashish Sangwan <ashishsangwan2@...il.com>
Subject: [PATCH] udf : fix metadata/mirror address print
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@...il.com>
Signed-off-by: Ashish Sangwan <ashishsangwan2@...il.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists