Patchwork [RESEND] ext4: format flag in dx_probe()

login
register
mail settings
Submitter Zheng Liu
Date Jan. 16, 2012, 9:01 a.m.
Message ID <1326704500-4368-1-git-send-email-wenqing.lz@taobao.com>
Download mbox | patch
Permalink /patch/136261/
State Accepted
Headers show

Comments

Zheng Liu - Jan. 16, 2012, 9:01 a.m.
Fix ext4_warning format flag in dx_probe().

CC: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
---
 fs/ext4/namei.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Theodore Ts'o - Feb. 21, 2012, 4:11 a.m.
On Mon, Jan 16, 2012 at 05:01:40PM +0800, Zheng Liu wrote:
> Fix ext4_warning format flag in dx_probe().
> 
> CC: "Theodore Ts'o" <tytso@mit.edu>
> Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>

Thanks, applied.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 2043f48..349d7b3 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -468,7 +468,7 @@  fail2:
 fail:
 	if (*err == ERR_BAD_DX_DIR)
 		ext4_warning(dir->i_sb,
-			     "Corrupt dir inode %ld, running e2fsck is "
+			     "Corrupt dir inode %lu, running e2fsck is "
 			     "recommended.", dir->i_ino);
 	return NULL;
 }