diff options
author | Joel Becker <joel.becker@oracle.com> | 2009-04-22 01:31:20 +0200 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-04-22 01:31:20 +0200 |
commit | 5b09b507daaa882d888b6cd78ee89ba9caace44b (patch) | |
tree | afc4622ffd2c81c7e851b8a17bcb73395d5cf277 /fs/ocfs2/export.c | |
parent | ocfs2: Fix 2 warning during ocfs2 make. (diff) | |
download | linux-5b09b507daaa882d888b6cd78ee89ba9caace44b.tar.xz linux-5b09b507daaa882d888b6cd78ee89ba9caace44b.zip |
ocfs2: Fix some printk() warnings.
The old %llu vs u64 battle. Cast them correctly.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/export.c')
-rw-r--r-- | fs/ocfs2/export.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/ocfs2/export.c b/fs/ocfs2/export.c index de3da8eb558c..15713cbb865c 100644 --- a/fs/ocfs2/export.c +++ b/fs/ocfs2/export.c @@ -100,7 +100,8 @@ static struct dentry *ocfs2_get_dentry(struct super_block *sb, /* If the inode allocator bit is clear, this inode must be stale */ if (!set) { - mlog(0, "inode %llu suballoc bit is clear\n", blkno); + mlog(0, "inode %llu suballoc bit is clear\n", + (unsigned long long)blkno); status = -ESTALE; goto unlock_nfs_sync; } @@ -114,7 +115,7 @@ check_err: if (status < 0) { if (status == -ESTALE) { mlog(0, "stale inode ino: %llu generation: %u\n", - blkno, handle->ih_generation); + (unsigned long long)blkno, handle->ih_generation); } result = ERR_PTR(status); goto bail; @@ -129,8 +130,8 @@ check_err: check_gen: if (handle->ih_generation != inode->i_generation) { iput(inode); - mlog(0, "stale inode ino: %llu generation: %u\n", blkno, - handle->ih_generation); + mlog(0, "stale inode ino: %llu generation: %u\n", + (unsigned long long)blkno, handle->ih_generation); result = ERR_PTR(-ESTALE); goto bail; } |