diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-12-24 03:09:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-10 19:15:33 -0400 |
commit | e5201c58cd81066ecd0210bcc6c02e71200040a3 (patch) | |
tree | e066d8ba71d6f7ffc8183cf1a4f8cadff8fa30f5 /fs/befs | |
parent | 1151895f8076584e061092afffb110b90cb38a68 (diff) |
[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>
Diffstat (limited to 'fs/befs')
-rw-r--r-- | fs/befs/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/befs/debug.c b/fs/befs/debug.c index 3afd0882fdb9..bb68370f6494 100644 --- a/fs/befs/debug.c +++ b/fs/befs/debug.c | |||
@@ -124,7 +124,7 @@ befs_dump_inode(const struct super_block *sb, befs_inode * inode) | |||
124 | befs_debug(sb, " type %08x", fs32_to_cpu(sb, inode->type)); | 124 | befs_debug(sb, " type %08x", fs32_to_cpu(sb, inode->type)); |
125 | befs_debug(sb, " inode_size %u", fs32_to_cpu(sb, inode->inode_size)); | 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 | befs_debug(sb, " Symbolic link [%s]", inode->data.symlink); | 128 | befs_debug(sb, " Symbolic link [%s]", inode->data.symlink); |
129 | } else { | 129 | } else { |
130 | int i; | 130 | int i; |