mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Namjae Jeon <linkinjeon@gmail.com>
To: jack@suse.cz
Cc: linux-kernel@vger.kernel.org, Namjae Jeon <linkinjeon@gmail.com>,
	Ashish Sangwan <ashishsangwan2@gmail.com>
Subject: [PATCH] udf : fix metadata/mirror address print
Date: Tue,  1 Nov 2011 00:25:40 +0900	[thread overview]
Message-ID: <1320074740-1923-1-git-send-email-linkinjeon@gmail.com> (raw)

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@gmail.com>
Signed-off-by: Ashish Sangwan <ashishsangwan2@gmail.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


             reply	other threads:[~2011-10-31 15:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-31 15:25 Namjae Jeon [this message]
2011-10-31 22:53 ` Jan Kara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1320074740-1923-1-git-send-email-linkinjeon@gmail.com \
    --to=linkinjeon@gmail.com \
    --cc=ashishsangwan2@gmail.com \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome