patch-2.1.127 linux/fs/ufs/util.h

Next file: linux/fs/umsdos/README-WIP.txt
Previous file: linux/fs/smbfs/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/fs/ufs/util.h linux/fs/ufs/util.h
@@ -305,7 +305,7 @@
 		count = min (size + offset, uspi->s_bpf);
 		size -= count - offset;
 		pos = ext2_find_next_zero_bit (ubh->bh[base]->b_data, count, offset);
-		if (pos < count + offset || !size)
+		if (pos < count || !size)
 			break;
 		base++;
 		offset = 0;

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