Commit 8b26c8c
fs/ntfs3: Add missing direct_IO in ntfs_aops_cmpr
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: b432163 ("fs/ntfs3: Update inode->i_mapping->a_ops on compression state")
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=e36cc3297bd3afd25e19
Signed-off-by: Lizhi Xu <[email protected]>
Signed-off-by: Konstantin Komarov <[email protected]>1 parent af5cab0 commit 8b26c8c
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
808 | 812 | | |
809 | 813 | | |
810 | 814 | | |
| |||
2068 | 2072 | | |
2069 | 2073 | | |
2070 | 2074 | | |
| 2075 | + | |
2071 | 2076 | | |
2072 | 2077 | | |
0 commit comments