Commit c1d6abd
btrfs: fix check_data_csum() error message for direct I/O
Commit 1dae796aabf6 ("btrfs: inode: sink parameter start and len to
check_data_csum()") replaced the start parameter to check_data_csum()
with page_offset(), but page_offset() is not meaningful for direct I/O
pages. Bring back the start parameter.
Fixes: 265d4ac ("btrfs: sink parameter start and len to check_data_csum")
CC: stable@vger.kernel.org # 5.11+
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 0bb7883 commit c1d6abd
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3099 | 3099 | | |
3100 | 3100 | | |
3101 | 3101 | | |
| 3102 | + | |
3102 | 3103 | | |
3103 | 3104 | | |
3104 | 3105 | | |
3105 | 3106 | | |
3106 | | - | |
| 3107 | + | |
| 3108 | + | |
3107 | 3109 | | |
3108 | 3110 | | |
3109 | 3111 | | |
| |||
3130 | 3132 | | |
3131 | 3133 | | |
3132 | 3134 | | |
3133 | | - | |
3134 | | - | |
| 3135 | + | |
| 3136 | + | |
3135 | 3137 | | |
3136 | 3138 | | |
3137 | 3139 | | |
| |||
3184 | 3186 | | |
3185 | 3187 | | |
3186 | 3188 | | |
3187 | | - | |
| 3189 | + | |
| 3190 | + | |
3188 | 3191 | | |
3189 | 3192 | | |
3190 | 3193 | | |
| |||
7907 | 7910 | | |
7908 | 7911 | | |
7909 | 7912 | | |
7910 | | - | |
| 7913 | + | |
| 7914 | + | |
7911 | 7915 | | |
7912 | 7916 | | |
7913 | 7917 | | |
| |||
0 commit comments