ntfsresize patch from Szaka: Cluster account reporting fix

(Logical change 1.116)
edge.strict_endians
cantab.net!aia21 2003-02-06 17:03:02 +00:00
parent f404774ea9
commit 73b5b028ca
1 changed files with 3 additions and 2 deletions

View File

@ -587,12 +587,13 @@ void compare_bitmaps(struct bitmap *a)
}
for (k = 0; k < count; k++) {
u64 j;
u64 j, start;
if (a->bm[i + k] == bm[k])
continue;
for (j = i * 8; j < i * 8 + 8; j++) {
start = (i + k) * 8;
for (j = start; j < start + 8; j++) {
bit = ntfs_bit_get(a->bm, j);
if (bit != ntfs_bit_get(bm, k + j % 8))