Skip to content

Commit

Permalink
Fixed rounding to cluster end for compressed files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Pierre André committed Aug 6, 2010
1 parent 654568a commit d0725eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libntfs-3g/attrib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,7 @@ s64 ntfs_attr_pwrite(ntfs_attr *na, const s64 pos, s64 count, const void *b)
if (compressed) {
written = ntfs_compressed_pwrite(na,
rl, wpos, ofs, to_write,
rounding, b, compressed_part,
rounding, cb, compressed_part,
&update_from);
} else {
written = ntfs_pwrite(vol->dev, wpos,
Expand Down

0 comments on commit d0725eb

Please sign in to comment.