lkml.org 
[lkml]   [2006]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 7/16] befs: missing fs32_to_cpu() in debug.c
From
Date
Date: Sat, 24 Dec 2005 03:09:03 -0500

inode->mode is disk-endian

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
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 3afd088..bb68370 100644
--- a/fs/befs/debug.c
+++ b/fs/befs/debug.c
@@ -124,7 +124,7 @@ #ifdef CONFIG_BEFS_DEBUG
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;
--
1.4.2.GIT

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-11 00:45    [W:0.024 / U:1.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site