summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2021-03-16 22:43:00 +0300
committerDavid Sterba <dsterba@suse.com>2021-03-18 23:25:11 +0300
commitc1d6abdac46ca8127274bea195d804e3f2cec7ee (patch)
tree1cfe131f4a5def941805de31dc8b11c28260192b /fs/btrfs/volumes.c
parent0bb788300990d3eb5582d3301a720f846c78925c (diff)
downloadlinux-c1d6abdac46ca8127274bea195d804e3f2cec7ee.tar.xz
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: 265d4ac03fdf ("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>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions