Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c878c73f authored by Bernd Schubert's avatar Bernd Schubert Committed by Jan Kara
Browse files

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: default avatarBernd <Schubert&lt;bernd.schubert@itwm.fraunhofer.de>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent d12dc256
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -288,7 +288,7 @@ static struct stats dx_show_leaf(struct dx_hash_info *hinfo, struct ext3_dir_ent
				while (len--) printk("%c", *name++);
				ext3fs_dirhash(de->name, de->name_len, &h);
				printk(":%x.%u ", h.hash,
				       ((char *) de - base));
				       (unsigned) ((char *) de - base));
			}
			space += EXT3_DIR_REC_LEN(de->name_len);
			names++;
@@ -1014,7 +1014,7 @@ static struct buffer_head * ext3_dx_find_entry(struct inode *dir,

	*err = -ENOENT;
errout:
	dxtrace(printk("%s not found\n", name));
	dxtrace(printk("%s not found\n", entry->name));
	dx_release (frames);
	return NULL;
}