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:<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>
Loading
Please sign in to comment