Kill warning in minix filesystem on 64-bit archs (2.6.0-test3)
On 64-bit architectures, ino_t is int, not long, so the attached patch is needed to prevent a warning.
Andrew, I can't find a maintainer for the MINIX filesystem --- can you please push this one along?
=== fs/minix/bitmap.c 1.10 vs edited ==--- 1.10/fs/minix/bitmap.c Thu May 23 23:18:51 2002
+++ edited/fs/minix/bitmap.c Thu Aug 7 11:56:55 2003
@@ -116,7 +116,7 @@
if (!ino || ino > sbi->s_ninodes) {
printk("Bad inode number on dev %s: %ld is out of range\n",
- sb->s_id, ino);
+ sb->s_id, (long)ino);
return NULL;
}
ino--;
@@ -141,7 +141,7 @@
*bh = NULL;
if (!ino || ino > sbi->s_ninodes) {
printk("Bad inode number on dev %s: %ld is out of range\n",
- sb->s_id, ino);
+ sb->s_id, (long)ino);
return NULL;
}
ino--;
--
Dr Peter Chubb http://www.gelato.unsw.edu.au [email protected]
You are lost in a maze of BitKeeper repositories, all slightly different.