patch-2.2.16 linux/fs/ext2/balloc.c

Next file: linux/fs/fat/dir.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/fs/ext2/balloc.c linux/fs/ext2/balloc.c
@@ -213,7 +213,7 @@
 	 */
 	if (sb->u.ext2_sb.s_loaded_block_bitmaps > 0 &&
 	    sb->u.ext2_sb.s_block_bitmap_number[0] == block_group &&
-	    sb->u.ext2_sb.s_block_bitmap[block_group]) {
+	    sb->u.ext2_sb.s_block_bitmap[0]) {
 		return 0;
 	}
 	/*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)