summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-08-26 23:19:58 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-21 08:28:27 +0900
commit4483ab85d1e0d934dfc827a828c8b265e82cdb4f (patch)
treea0c1dc85183c0c64bcb96007e62888fc6714fa74 /scripts/Makefile.thinlto
parent4a8bdffce502d70405391a7ac38bac6dcef94749 (diff)
downloadlinux-4483ab85d1e0d934dfc827a828c8b265e82cdb4f.tar.gz
linux-4483ab85d1e0d934dfc827a828c8b265e82cdb4f.zip
exfat: map allocated extents for swap activation
exFAT reports allocated ranges beyond valid_size as IOMAP_HOLE when IOMAP_REPORT is set. iomap_swapfile_activate() also uses IOMAP_REPORT while collecting physical extents for a swap file, so it treats the preallocated tail as unallocated and rejects the file with -EINVAL. Use swap-specific iomap operations that suppress IOMAP_REPORT before mapping the file. This reports physically allocated ranges as IOMAP_UNWRITTEN during swap activation without changing the byte-accurate SEEK_HOLE and SEEK_DATA behavior of the regular iomap operations. Tested-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions