Fixed cluster releases for compressed files

N2009_11_14_FIXES
jpandre 2009-04-25 11:52:00 +00:00
parent 3615874502
commit bcc9b7dbdc
1 changed files with 2 additions and 2 deletions

View File

@ -1119,8 +1119,8 @@ static int ntfs_flush(ntfs_attr *na, runlist_element *rl, s64 offs,
if (!written)
compress = FALSE;
if ((written > 0)
&& ntfs_compress_free(na,rl,written,
na->compression_block_size))
&& ntfs_compress_free(na,rl,offs + written,
offs + na->compression_block_size))
written = -1;
}
if (!compress) {