Remove silly and wrong sanity check.

(Logical change 1.69)
This commit is contained in:
cantab.net!aia21 2002-12-28 20:10:50 +00:00
parent 3d5d045fe4
commit 4084c90c93

View File

@ -75,8 +75,9 @@ int ntfs_cluster_free(ntfs_volume *vol, ntfs_attr *na, VCN start_vcn, s64 count)
runlist *rl;
s64 nr_freed, delta, to_free;
if (!vol || !vol->lcnbmp_na || !na || !na->rl || start_vcn < 0 ||
if (!vol || !vol->lcnbmp_na || !na || start_vcn < 0 ||
(count < 0 && count != -1)) {
fprintf(stderr, "%s(): Invalid arguments!\n", __FUNCTION__);
errno = EINVAL;
return -1;
}