From b81e3f8959d1ce4eea0f8d60dfeebabb242b9d71 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Fri, 1 Oct 2004 13:56:42 +0000 Subject: [PATCH] Fix stupid typo where I had >> vol->cluster_size instead of >> vol->cluster_size_bits. (Logical change 1.590) --- libntfs/mft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs/mft.c b/libntfs/mft.c index 67ce252f..cf5d221c 100644 --- a/libntfs/mft.c +++ b/libntfs/mft.c @@ -554,7 +554,7 @@ static int ntfs_mft_bitmap_extend_allocation(ntfs_volume *vol) * mft bitmap cannot be zero so we are ok to do this. */ rl = ntfs_attr_find_vcn(mftbmp_na, (mftbmp_na->allocated_size - 1) >> - vol->cluster_size); + vol->cluster_size_bits); if (!rl || !rl->length || rl->lcn < 0) { ntfs_error(vol->sb, "Failed to determine last allocated " "cluster of mft bitmap attribute.");