From d0725eb2518374d1475a6c2591aa6623ee218d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Fri, 6 Aug 2010 21:36:38 +0200 Subject: [PATCH] Fixed rounding to cluster end for compressed files --- libntfs-3g/attrib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs-3g/attrib.c b/libntfs-3g/attrib.c index c7bbf333..123c9a91 100644 --- a/libntfs-3g/attrib.c +++ b/libntfs-3g/attrib.c @@ -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,