mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 16:50:05 +00:00
[PATCH] befs: missing fs32_to_cpu() in debug.c
inode->mode is disk-endian Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
1151895f80
commit
e5201c58cd
@ -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, " 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);
|
||||
} else {
|
||||
int i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user