summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-08-26 23:19:58 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-28 19:36:26 +0900
commitd1b432080f57a2799a1b2d03531f7990be044414 (patch)
tree8ade1f76798c9f5ec214ab361e0ca902fa59ee6b /scripts/objdiff
parent0a0d1d55dad570724bf8c7ea83409639cfb4be9b (diff)
downloadlinux-next-d1b432080f57a2799a1b2d03531f7990be044414.tar.gz
linux-next-d1b432080f57a2799a1b2d03531f7990be044414.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. Fixes: 03a43677ca91 ("exfat: add swap_activate support") Tested-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions