diff options
| author | 2022-10-27 02:41:32 +0200 | |
|---|---|---|
| committer | 2022-12-05 18:00:52 +0100 | |
| commit | d8f9268ece91e6fe887b444780787828890a8051 (patch) | |
| tree | d76fe7298ceb0eb5c88310f42aba6336083c0175 /fs/btrfs/compression.c | |
| parent | btrfs: pass btrfs_inode to submit_one_bio (diff) | |
| download | wireguard-linux-d8f9268ece91e6fe887b444780787828890a8051.tar.xz wireguard-linux-d8f9268ece91e6fe887b444780787828890a8051.zip | |
btrfs: pass btrfs_inode to btrfs_repair_one_sector
The function is for internal interfaces so we should use the
btrfs_inode.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
| -rw-r--r-- | fs/btrfs/compression.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index cf3dc7e501ec..6f5ad0d6c409 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c @@ -194,7 +194,7 @@ static void end_compressed_bio_read(struct btrfs_bio *bbio) int ret; refcount_inc(&cb->pending_ios); - ret = btrfs_repair_one_sector(inode, bbio, offset, + ret = btrfs_repair_one_sector(BTRFS_I(inode), bbio, offset, bv.bv_page, bv.bv_offset, true); if (ret) { |
