linux-yocto/fs/ntfs3
Lizhi Xu e2bbe6336d fs/ntfs3: Add missing direct_IO in ntfs_aops_cmpr
[ Upstream commit 8b26c8c376 ]

The ntfs3 can use the page cache directly, so its address_space_operations
need direct_IO. Exit ntfs_direct_IO() if it is a compressed file.

Fixes: b432163ebd ("fs/ntfs3: Update inode->i_mapping->a_ops on compression state")
Reported-by: syzbot+e36cc3297bd3afd25e19@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=e36cc3297bd3afd25e19
Signed-off-by: Lizhi Xu <lizhi.xu@windriver.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-19 15:31:36 +02:00
..
lib Changes for 6.12-rc3 2024-10-08 10:53:06 -07:00
attrib.c fs/ntfs3: Update inode->i_mapping->a_ops on compression state 2025-04-10 14:39:22 +02:00
attrlist.c fs/ntfs3: Remove unused al_delete_le 2024-10-01 12:19:05 +03:00
bitfunc.c fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring 2022-11-14 19:50:42 +03:00
bitmap.c fs/ntfs3: Missed error return 2024-07-11 12:19:42 +03:00
debug.h
dir.c fs/ntfs3: Unify inode corruption marking with _ntfs_bad_inode() 2025-02-21 14:01:26 +01:00
file.c fs/ntfs3: Fix WARNING in ntfs_extend_initialized_size 2025-05-02 07:59:17 +02:00
frecord.c fs/ntfs3: Update inode->i_mapping->a_ops on compression state 2025-04-10 14:39:22 +02:00
fslog.c fs/ntfs3: Refactor enum_rstbl to suppress static checker 2024-09-03 16:58:42 +03:00
fsntfs.c fs/ntfs3: Unify inode corruption marking with _ntfs_bad_inode() 2025-02-21 14:01:26 +01:00
index.c fs/ntfs3: handle hdr_first_de() return value 2025-06-19 15:31:36 +02:00
inode.c fs/ntfs3: Add missing direct_IO in ntfs_aops_cmpr 2025-06-19 15:31:36 +02:00
Kconfig ntfs3: serve as alias for the legacy ntfs driver 2024-04-16 10:45:26 +02:00
lznt.c fs/ntfs3: Check if more than chunk-size bytes are written 2024-09-03 16:58:39 +03:00
Makefile
namei.c fs/ntfs3: Fix possible deadlock in mi_read 2024-10-01 12:19:06 +03:00
ntfs_fs.h fs/ntfs3: Fix warning in ni_fiemap 2024-12-14 20:04:06 +01:00
ntfs.h fs/ntfs3: Prevent integer overflow in hdr_first_de() 2025-04-10 14:39:23 +02:00
record.c fs/ntfs3: Sequential field availability check in mi_enum_attr() 2024-10-01 12:19:07 +03:00
run.c fs/ntfs3: Fix case when unmarked clusters intersect with zone 2024-12-14 20:04:06 +01:00
super.c fs/ntfs3: Format output messages like others fs in kernel 2024-10-01 12:19:09 +03:00
upcase.c
xattr.c fs/ntfs3: Rename ntfs3_setattr into ntfs_setattr 2024-09-03 16:58:45 +03:00