patch-2.3.42 linux/fs/qnx4/bitmap.c
Next file: linux/fs/qnx4/dir.c
Previous file: linux/fs/proc/base.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Mon Jan 31 15:40:23 2000
-  Orig file: 
v2.3.41/linux/fs/qnx4/bitmap.c
-  Orig date: 
Tue Jan 11 22:31:43 2000
diff -u --recursive --new-file v2.3.41/linux/fs/qnx4/bitmap.c linux/fs/qnx4/bitmap.c
@@ -76,14 +76,10 @@
 		count_bits(bh->b_data, size - total, &total_free);
 		brelse(bh);
 		total += QNX4_BLOCK_SIZE;
+		offset++;
 	}
 
 	return total_free;
-}
-
-unsigned long qnx4_count_free_inodes(struct super_block *sb)
-{
-	return qnx4_count_free_blocks(sb) * QNX4_INODES_PER_BLOCK;	/* FIXME */
 }
 
 #ifdef CONFIG_QNX4FS_RW
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)