[pnfs] [PATCH 01/10] pnfs: fix 64bit warning
Dean Hildebrand
seattleplus at gmail.com
Tue Jul 8 17:53:57 EDT 2008
dprintk doesn't pick up u64 of variable, need to cast
Signed-off-by: Dean Hildebrand <dhildeb at us.ibm.com>
---
fs/nfs/pnfs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index 8116187..1c79a31 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -1257,9 +1257,9 @@ pnfs_update_layout_commit(struct inode *inode,
struct nfs_page *nfs_page = nfs_list_entry(head->next);
int status;
- dprintk("--> %s inode %p layout range: %Zd@%Lu\n", __func__, inode,
- (size_t)(npages * PAGE_SIZE),
- (u64)idx_start * PAGE_SIZE);
+ dprintk("--> %s inode %p layout range: %Zd@%llu\n", __func__, inode,
+ (size_t)(npages * PAGE_SIZE),
+ (u64)((u64)idx_start * PAGE_SIZE));
if (!pnfs_enabled_sb(nfss))
return;
--
1.5.3.3
More information about the pNFS
mailing list