summaryrefslogtreecommitdiff
path: root/fs/ocfs2/aops.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/aops.c
parent6e4b0d5692cd27d3c9be893a9f5939a9cafbb09f (diff)
downloadlinux-3.10-1ca1a111b1e6be843c9ce5245dcd570312998d94.tar.gz
linux-3.10-1ca1a111b1e6be843c9ce5245dcd570312998d94.tar.bz2
linux-3.10-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/aops.c')
-rw-r--r--fs/ocfs2/aops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
index d76de384e02..36b3d2aaabb 100644
--- a/fs/ocfs2/aops.c
+++ b/fs/ocfs2/aops.c
@@ -78,7 +78,8 @@ static int ocfs2_symlink_get_block(struct inode *inode, sector_t iblock,
if (!OCFS2_IS_VALID_DINODE(fe)) {
mlog(ML_ERROR, "Invalid dinode #%llu: signature = %.*s\n",
- (unsigned long long)fe->i_blkno, 7, fe->i_signature);
+ (unsigned long long)le64_to_cpu(fe->i_blkno), 7,
+ fe->i_signature);
goto bail;
}