diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-04-27 16:01:25 -0700 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-05-02 15:08:08 -0700 |
commit | 1ca1a111b1e6be843c9ce5245dcd570312998d94 (patch) | |
tree | e9f14300df896a4c7ee4f03db09cf08ddd027471 /fs/ocfs2/file.c | |
parent | 6e4b0d5692cd27d3c9be893a9f5939a9cafbb09f (diff) | |
download | lwn-1ca1a111b1e6be843c9ce5245dcd570312998d94.tar.gz lwn-1ca1a111b1e6be843c9ce5245dcd570312998d94.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 7c7b5683f778..9395b4fa547d 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)); |