Commit 1c6e67fc authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] kill warning in jbd/revoke.c

From: Peter Chubb <peterc@gelato.unsw.edu.au>

If you need a long long format, then cast to long long, not u64.  u64 is
long on 64-bit architectures.
parent 02cb6f3d
...@@ -438,7 +438,7 @@ int journal_cancel_revoke(handle_t *handle, struct journal_head *jh) ...@@ -438,7 +438,7 @@ int journal_cancel_revoke(handle_t *handle, struct journal_head *jh)
record = find_revoke_record(journal, bh->b_blocknr); record = find_revoke_record(journal, bh->b_blocknr);
if (record) { if (record) {
jbd_debug(4, "cancelled existing revoke on " jbd_debug(4, "cancelled existing revoke on "
"blocknr %llu\n", (u64)bh->b_blocknr); "blocknr %llu\n", (unsigned long long)bh->b_blocknr);
spin_lock(&journal->j_revoke_lock); spin_lock(&journal->j_revoke_lock);
list_del(&record->hash); list_del(&record->hash);
spin_unlock(&journal->j_revoke_lock); spin_unlock(&journal->j_revoke_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment