summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorWentao Guan <guanwentao@uniontech.com>2026-08-25 13:46:59 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-26 20:25:46 +0900
commit607a9478833db656e7ceac8e9e382fa4acfde545 (patch)
tree52f8b9cddb71161d95e33bb41968d3b486e51405 /tools/perf/scripts/python/bin/stackcollapse-report
parent8d139e3635c86e2c97c78d55538ce0b00b6d9986 (diff)
ntfs: treat any nonzero dio zero-range return as an error
ntfs_dio_zero_range() returns either 0 or a negative errno from blkdev_issue_zeroout(); it never returns a positive value. The zeroing failure check in ntfs_attr_fallocate() therefore never fired, so a failed zeroing operation was silently ignored: the loop kept going, the newly allocated clusters were folded into initialized_size and the write could succeed leaving stale on-disk data. Treat any nonzero return as an error and abort the allocation. Fixes: 495e90fa33482 ("ntfs: update attrib operations") Assisted-by: atomcode:deepseek-v4-flash Signed-off-by: Wentao Guan <guanwentao@uniontech.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions