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

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

diff -u --recursive --new-file v2.1.117/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]) {
-		slot = 0;
+		return 0;
 	}
 	/*
 	 * Or can we do a fast lookup based on a loaded group on a filesystem

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov