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

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

diff -u --recursive --new-file v2.1.126/linux/fs/ext2/balloc.c linux/fs/ext2/balloc.c
@@ -721,7 +721,7 @@
 		
 		bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr];
 
-		if (!(le32_to_cpu(sb->u.ext2_sb.s_feature_ro_compat) &
+		if (!(sb->u.ext2_sb.s_feature_ro_compat &
 		     EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER) ||
 		    ext2_group_sparse(i)) {
 			if (!ext2_test_bit (0, bh->b_data))

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