summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/file.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-04-27 16:01:25 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2007-05-02 15:08:08 -0700
commit1ca1a111b1e6be843c9ce5245dcd570312998d94 (patch)
treee9f14300df896a4c7ee4f03db09cf08ddd027471 /fs/ocfs2/file.c
parent6e4b0d5692cd27d3c9be893a9f5939a9cafbb09f (diff)
downloadop-kernel-dev-1ca1a111b1e6be843c9ce5245dcd570312998d94.zip
op-kernel-dev-1ca1a111b1e6be843c9ce5245dcd570312998d94.tar.gz
ocfs2: fix sparse warnings in fs/ocfs2
None of these are actually harmful, but the noise makes looking for real problems difficult. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r--fs/ocfs2/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 7c7b568..9395b4f 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -713,7 +713,8 @@ restarted_transaction:
}
mlog(0, "fe: i_clusters = %u, i_size=%llu\n",
- fe->i_clusters, (unsigned long long)fe->i_size);
+ le32_to_cpu(fe->i_clusters),
+ (unsigned long long)le64_to_cpu(fe->i_size));
mlog(0, "inode: ip_clusters=%u, i_size=%lld\n",
OCFS2_I(inode)->ip_clusters, i_size_read(inode));
OpenPOWER on IntegriCloud