diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 19:06:22 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 19:06:22 -0400 |
commit | ba3e0e1accd8d5bb12eaeb0977429d8dc04f6d1e (patch) | |
tree | eb4bf83c8089640845cc5f695105e1446cab2f6d /fs/afs/fsclient.c | |
parent | 260a980317dac80182dd76140cf67c6e81d6d3dd (diff) |
[AFS]: Fix u64 printing in debug logging.
Need 'unsigned long long' casts to quiet warnings on
64-bit platforms when using %ll on a u64.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/fsclient.c')
-rw-r--r-- | fs/afs/fsclient.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/afs/fsclient.c b/fs/afs/fsclient.c index f036b4cc51a6..2393d2a08d79 100644 --- a/fs/afs/fsclient.c +++ b/fs/afs/fsclient.c | |||
@@ -105,7 +105,8 @@ static void xdr_decode_AFSFetchStatus(const __be32 **_bp, | |||
105 | status->data_version = data_version; | 105 | status->data_version = data_version; |
106 | if (vnode && !test_bit(AFS_VNODE_UNSET, &vnode->flags)) { | 106 | if (vnode && !test_bit(AFS_VNODE_UNSET, &vnode->flags)) { |
107 | _debug("vnode modified %llx on {%x:%u}", | 107 | _debug("vnode modified %llx on {%x:%u}", |
108 | data_version, vnode->fid.vid, vnode->fid.vnode); | 108 | (unsigned long long) data_version, |
109 | vnode->fid.vid, vnode->fid.vnode); | ||
109 | set_bit(AFS_VNODE_MODIFIED, &vnode->flags); | 110 | set_bit(AFS_VNODE_MODIFIED, &vnode->flags); |
110 | set_bit(AFS_VNODE_ZAP_DATA, &vnode->flags); | 111 | set_bit(AFS_VNODE_ZAP_DATA, &vnode->flags); |
111 | } | 112 | } |