aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2026-09-03 09:52:38 +0200
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2026-09-08 10:44:40 +0200
commitcd31336c23f6e40826675880396b45b32ef33fcb (patch)
treed1142a9ca7b845abb6abfae4b3e2d3fb40e1939c /scripts/Makefile.thinlto
parentfs/ntfs3: document ads, nocase, and delalloc (diff)
fs/ntfs3: convert to non-resident when the new size exceeds the record size
attr_set_size_res() only checked whether the attribute still fits when the attribute was growing (dsize > 0), and only against sbi->max_bytes_per_attr. A resident attribute could therefore be resized to a value larger than a single MFT record can hold. Move the check ahead of the memmove() paths and also reject a new size larger than sbi->record_size, falling back to attr_make_nonresident() in both cases. Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions