summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2017-02-20 13:50:53 +0200
committerDavid Sterba <dsterba@suse.com>2017-02-28 11:30:09 +0100
commit0970a22e58d4c49f2c3e84519613a9db8f00f579 (patch)
treef7f94345e8c87647269abee13ad6573ba01b1519 /fs/btrfs/inode.c
parent4ac1f4acd7c60c95e3efa63d463418093aff9ce5 (diff)
downloadlwn-0970a22e58d4c49f2c3e84519613a9db8f00f579.tar.gz
lwn-0970a22e58d4c49f2c3e84519613a9db8f00f579.zip
btrfs: make btrfs_print_data_csum_error take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index f1f9e201f9f3..fc00117a0dd0 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -3032,7 +3032,7 @@ static int __readpage_endio_check(struct inode *inode,
kunmap_atomic(kaddr);
return 0;
zeroit:
- btrfs_print_data_csum_error(inode, start, csum, csum_expected,
+ btrfs_print_data_csum_error(BTRFS_I(inode), start, csum, csum_expected,
io_bio->mirror_num);
memset(kaddr + pgoff, 1, len);
flush_dcache_page(page);