Commit 27708efd authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor change that might fix problem Russ is seeing with NTFS

compression.
parent d04e2b59
......@@ -1491,7 +1491,7 @@ compress_chunk(off_t size, int *partial, unsigned long *subblksize)
* and the output size will be *bigger* than the input size.
*/
if (count > subblockleft) {
count = subblockleft - secsize;
count = subblockleft - (2 * secsize);
/*
* But of course, we always want to be sector aligned.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment