Commit e5201c58 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] befs: missing fs32_to_cpu() in debug.c

inode->mode is disk-endian
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1151895f
...@@ -124,7 +124,7 @@ befs_dump_inode(const struct super_block *sb, befs_inode * inode) ...@@ -124,7 +124,7 @@ befs_dump_inode(const struct super_block *sb, befs_inode * inode)
befs_debug(sb, " type %08x", fs32_to_cpu(sb, inode->type)); befs_debug(sb, " type %08x", fs32_to_cpu(sb, inode->type));
befs_debug(sb, " inode_size %u", fs32_to_cpu(sb, inode->inode_size)); befs_debug(sb, " inode_size %u", fs32_to_cpu(sb, inode->inode_size));
if (S_ISLNK(inode->mode)) { if (S_ISLNK(fs32_to_cpu(sb, inode->mode))) {
befs_debug(sb, " Symbolic link [%s]", inode->data.symlink); befs_debug(sb, " Symbolic link [%s]", inode->data.symlink);
} else { } else {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment