diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 12:50:53 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:09 +0100 |
commit | 0970a22e58d4c49f2c3e84519613a9db8f00f579 (patch) | |
tree | f7f94345e8c87647269abee13ad6573ba01b1519 /fs/btrfs/compression.c | |
parent | btrfs: make free_io_failure take btrfs_inode (diff) | |
download | linux-0970a22e58d4c49f2c3e84519613a9db8f00f579.tar.xz linux-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/compression.c')
-rw-r--r-- | fs/btrfs/compression.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index 903c32c9eb22..9ce85d5e5cae 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c @@ -124,8 +124,9 @@ static int check_compressed_csum(struct inode *inode, kunmap_atomic(kaddr); if (csum != *cb_sum) { - btrfs_print_data_csum_error(inode, disk_start, csum, - *cb_sum, cb->mirror_num); + btrfs_print_data_csum_error(BTRFS_I(inode), + disk_start, csum, + *cb_sum, cb->mirror_num); ret = -EIO; goto fail; } |