Commit e5201c58cd81066ecd0210bcc6c02e71200040a3
Committed by
Linus Torvalds
1 parent
1151895f80
Exists in
master
and in
4 other branches
[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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
fs/befs/debug.c
... | ... | @@ -124,7 +124,7 @@ |
124 | 124 | befs_debug(sb, " type %08x", fs32_to_cpu(sb, inode->type)); |
125 | 125 | befs_debug(sb, " inode_size %u", fs32_to_cpu(sb, inode->inode_size)); |
126 | 126 | |
127 | - if (S_ISLNK(inode->mode)) { | |
127 | + if (S_ISLNK(fs32_to_cpu(sb, inode->mode))) { | |
128 | 128 | befs_debug(sb, " Symbolic link [%s]", inode->data.symlink); |
129 | 129 | } else { |
130 | 130 | int i; |