Commit e2bbe633 authored by Lizhi Xu's avatar Lizhi Xu Committed by Greg Kroah-Hartman
Browse files

fs/ntfs3: Add missing direct_IO in ntfs_aops_cmpr



[ Upstream commit 8b26c8c3 ]

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: b432163e ("fs/ntfs3: Update inode->i_mapping->a_ops on compression state")
Reported-by: default avatar <syzbot+e36cc3297bd3afd25e19@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=e36cc3297bd3afd25e19


Signed-off-by: default avatarLizhi Xu <lizhi.xu@windriver.com>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2d5879f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment