diff options
author | Bernd Schubert <bernd.schubert@itwm.fraunhofer.de> | 2011-07-16 19:41:23 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-07-16 19:41:23 -0400 |
commit | 265c6a0f9290c8f470b839257dc6af3c46b24da1 (patch) | |
tree | af9308e1ac7f6b4c195eed5950ecee6d4194c40c /fs | |
parent | afb86178cb9b6a7329cf8709aa210fb0a245b606 (diff) |
ext4: fix compilation with -DDX_DEBUG
Compilation of ext4/namei.c brought up an error and warning messages
when compiled with -DDX_DEBUG
Signed-off-by: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 8dde5ab239cc..aaf313107c6c 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c | |||
@@ -289,7 +289,7 @@ static struct stats dx_show_leaf(struct dx_hash_info *hinfo, struct ext4_dir_ent | |||
289 | while (len--) printk("%c", *name++); | 289 | while (len--) printk("%c", *name++); |
290 | ext4fs_dirhash(de->name, de->name_len, &h); | 290 | ext4fs_dirhash(de->name, de->name_len, &h); |
291 | printk(":%x.%u ", h.hash, | 291 | printk(":%x.%u ", h.hash, |
292 | ((char *) de - base)); | 292 | (unsigned) ((char *) de - base)); |
293 | } | 293 | } |
294 | space += EXT4_DIR_REC_LEN(de->name_len); | 294 | space += EXT4_DIR_REC_LEN(de->name_len); |
295 | names++; | 295 | names++; |
@@ -1013,7 +1013,7 @@ static struct buffer_head * ext4_dx_find_entry(struct inode *dir, const struct q | |||
1013 | 1013 | ||
1014 | *err = -ENOENT; | 1014 | *err = -ENOENT; |
1015 | errout: | 1015 | errout: |
1016 | dxtrace(printk(KERN_DEBUG "%s not found\n", name)); | 1016 | dxtrace(printk(KERN_DEBUG "%s not found\n", d_name->name)); |
1017 | dx_release (frames); | 1017 | dx_release (frames); |
1018 | return NULL; | 1018 | return NULL; |
1019 | } | 1019 | } |