linux-kernelorg-stable/fs
Keith Busch 7eac331869 iomap: simplify direct io validity check
The block layer checks all the segments for validity later, so no need
for an early check. Just reduce it to a simple position and total length
check, and defer the more invasive segment checks to the block layer.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-09-09 10:27:01 -06:00
..
9p
adfs
affs
afs
autofs
bcachefs block: remove the bi_inline_vecs variable sized array from struct bio 2025-09-09 07:31:59 -06:00
befs
bfs
btrfs for-6.17-rc2-tag 2025-08-18 09:17:42 -07:00
cachefiles
ceph
coda
configfs
cramfs
crypto
debugfs debugfs: fix mount options not being applied 2025-08-17 12:22:25 +02:00
devpts
dlm
ecryptfs
efivarfs
efs
erofs erofs: fix block count report when 48-bit layout is on 2025-08-11 06:31:19 +08:00
exfat
exportfs
ext2
ext4 Ext4 bug fixes and cleanups for 6.17-rc3, including most notably: 2025-08-18 09:01:00 -07:00
f2fs f2fs-for-6.17-rc1 2025-08-04 16:27:21 -07:00
fat Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
freevxfs
fuse fuse: keep inode->i_blkbits constant 2025-08-11 14:51:50 +02:00
gfs2
hfs
hfsplus
hostfs
hpfs
hugetlbfs
iomap iomap: simplify direct io validity check 2025-09-09 10:27:01 -06:00
isofs
jbd2 jbd2: prevent softlockup in jbd2_log_do_checkpoint() 2025-08-13 14:24:14 -04:00
jffs2
jfs
kernfs kernfs: don't fail listing extended attributes 2025-08-19 13:51:28 +02:00
lockd
minix
netfs netfs: Fix unbuffered write error handling 2025-08-15 15:56:49 +02:00
nfs NFS: Fix a race when updating an existing write 2025-08-19 11:16:02 -07:00
nfs_common NFS/localio: nfs_uuid_put() fix the wake up after unlinking the file 2025-08-05 16:45:40 -07:00
nfsd nfsd-6.17 fixes: 2025-08-11 07:38:55 -07:00
nilfs2
nls
notify
ntfs3
ocfs2 Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
omfs
openpromfs
orangefs
overlayfs ovl: fix possible double unlink 2025-08-18 13:16:49 +02:00
proc proc: proc_maps_open allow proc_mem_open to return NULL 2025-08-11 23:01:00 -07:00
pstore
qnx4
qnx6
quota
ramfs
resctrl
romfs
smb fix for netfs smb3 oops 2025-08-22 09:02:32 -04:00
squashfs block: add a bio_init_inline helper 2025-09-09 07:31:59 -06:00
sysfs
tests
tracefs
ubifs
udf
ufs
unicode
vboxsf
verity
xfs xfs: split xfs_zone_record_blocks 2025-08-11 14:04:20 +02:00
zonefs
Kconfig
Kconfig.binfmt
Makefile
aio.c
anon_inodes.c module: Rename EXPORT_SYMBOL_GPL_FOR_MODULES to EXPORT_SYMBOL_FOR_MODULES 2025-08-11 16:16:36 +02:00
attr.c
backing-file.c
bad_inode.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
bpf_fs_kfuncs.c
buffer.c fs/buffer: fix use-after-free when call bh_read() helper 2025-08-19 13:51:28 +02:00
char_dev.c
compat_binfmt_elf.c
coredump.c coredump: Fix return value in coredump_parse() 2025-08-19 13:51:28 +02:00
d_path.c
dax.c fs/dax: Reject IOCB_ATOMIC in dax_iomap_rw() 2025-08-11 14:03:38 +02:00
dcache.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c
fcntl.c
fhandle.c fhandle: do_handle_open() should get FD with user flags 2025-08-15 15:46:57 +02:00
file.c
file_attr.c
file_table.c
filesystems.c
fs-writeback.c fs: writeback: fix use-after-free in __mark_inode_dirty() 2025-08-11 14:51:45 +02:00
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
init.c
inode.c
internal.h
ioctl.c
kernel_read_file.c
libfs.c
locks.c
mbcache.c
mnt_idmapping.c
mount.h
mpage.c
namei.c
namespace.c fixes for several recent mount-related regressions 2025-08-19 10:12:10 -07:00
nsfs.c
open.c
pidfs.c pidfs: Fix memory leak in pidfd_info() 2025-08-15 16:10:46 +02:00
pipe.c
pnode.c change_mnt_propagation(): calculate propagation source only if we'll need it 2025-08-19 12:05:59 -04:00
pnode.h
posix_acl.c
proc_namespace.c
read_write.c
readdir.c
remap_range.c
select.c
seq_file.c
signalfd.c
splice.c netfs: Fix unbuffered write error handling 2025-08-15 15:56:49 +02:00
stack.c
stat.c
statfs.c
super.c
sync.c
sysctls.c
timerfd.c
userfaultfd.c
utimes.c
xattr.c