[PATCH] kill warning in jbd/revoke.c

From: Peter Chubb
Date: Mon Aug 11 2003 - 17:51:26 EST



If you need a long long format, then cast to long long, not u64. u64
is long on 64-bit architectures.

===== fs/jbd/revoke.c 1.14 vs edited =====
- --- 1.14/fs/jbd/revoke.c Sat Jun 21 06:16:32 2003
+++ edited/fs/jbd/revoke.c Mon Aug 11 15:02:44 2003
@@ -438,7 +438,7 @@
record = find_revoke_record(journal, bh->b_blocknr);
if (record) {
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);
list_del(&record->hash);
spin_unlock(&journal->j_revoke_lock);


- --
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc@xxxxxxxxxxxxxxxxxx
You are lost in a maze of BitKeeper repositories, all slightly different.


---End encapsulation
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/