Re: [PATCH v7 04/10] btrfs: fix check_data_csum() error message for direct I/O

From
Josef Bacik <josef@toxicpanda.com>
Date
2021-01-25 21:01:39
Also in
linux-btrfs, linux-fsdevel
Reply to
Omar Sandoval, 2021-01-22
On 1/22/21 3:46 PM, Omar Sandoval wrote:
From: Omar Sandoval <redacted>

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: 265d4ac03fdf ("btrfs: sink parameter start and len to check_data_csum")
Signed-off-by: Omar Sandoval <redacted>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef
Thread (16 messages) 16 messages, 2 authors, last reply 2021-02-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help