aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorBernd Schubert <bernd.schubert@itwm.fraunhofer.de>2011-07-20 17:16:33 -0400
committerJan Kara <jack@suse.cz>2011-07-20 17:16:33 -0400
commitc878c73f8dda48f64bcec24f78e80e154cbc5cf8 (patch)
treeaac874cf11e5bddef77eacc9df3d376c9044d766 /fs/ext3
parentd12dc256547cec4fe62dad6e94252dced4ee2d58 (diff)
ext3: Fix compilation with -DDX_DEBUG
Compilation of ext3/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: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/namei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c
index 51736a4ff0cd..0465368598bd 100644
--- a/fs/ext3/namei.c
+++ b/fs/ext3/namei.c
@@ -288,7 +288,7 @@ static struct stats dx_show_leaf(struct dx_hash_info *hinfo, struct ext3_dir_ent
288 while (len--) printk("%c", *name++); 288 while (len--) printk("%c", *name++);
289 ext3fs_dirhash(de->name, de->name_len, &h); 289 ext3fs_dirhash(de->name, de->name_len, &h);
290 printk(":%x.%u ", h.hash, 290 printk(":%x.%u ", h.hash,
291 ((char *) de - base)); 291 (unsigned) ((char *) de - base));
292 } 292 }
293 space += EXT3_DIR_REC_LEN(de->name_len); 293 space += EXT3_DIR_REC_LEN(de->name_len);
294 names++; 294 names++;
@@ -1014,7 +1014,7 @@ static struct buffer_head * ext3_dx_find_entry(struct inode *dir,
1014 1014
1015 *err = -ENOENT; 1015 *err = -ENOENT;
1016errout: 1016errout:
1017 dxtrace(printk("%s not found\n", name)); 1017 dxtrace(printk("%s not found\n", entry->name));
1018 dx_release (frames); 1018 dx_release (frames);
1019 return NULL; 1019 return NULL;
1020} 1020}