summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2026-10-07 11:26:08 +0200
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2026-10-13 15:44:54 +0200
commit4ef75fe998262d129d623289f0b2992654caa575 (patch)
tree75af6fe67f59aab7d75b322f365c111497206c7b /tools/lib/python
parentf3fb2530eac6d6e647488b97afca2f15d94b4451 (diff)
downloadlinux-next-4ef75fe998262d129d623289f0b2992654caa575.tar.gz
linux-next-4ef75fe998262d129d623289f0b2992654caa575.zip
fs/ntfs3: zero newly allocated clusters when the request is smaller than the frame
For compressed attributes, allocation is rounded up to a whole compression frame, so a request covering only part of a frame still allocates clst_per_frame clusters. The clusters outside the requested range are then allocated but never written by the caller. Until now 'zero' was set only when allocation had to start before the requested VCN. When it started at vcn0 but extended past the end of the request, the tail clusters were left holding whatever was previously on disk. Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions