udf : fix metadata/mirror address print
PATCH 1/1 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 <[email protected]>
Signed-off-by Ashish Sangwan <[email protected]>
--- fs/udf/super.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
fs/udf/super.c +2 -2
@@ -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);
Signature · 1 line
1.7.4.4
Quoted 2 lines · Namjae Jeon
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.
Thanks. I've folded this patch into your previous one.
Honza
Quoted 32 lines
Signed-off-by Namjae Jeon <[email protected]>Signed-off-by Ashish Sangwan <[email protected]>--- fs/udf/super.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)fs/udf/super.c +2
-2@@ -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);Signature · 1 line
1.7.4.4
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR