mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-12-01 05:53:28 +08:00
Remove silly and wrong sanity check.
(Logical change 1.69)
This commit is contained in:
parent
3d5d045fe4
commit
4084c90c93
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user