|
@@ -704,13 +704,11 @@ static void scrub_fixup_nodatasum(struct btrfs_work *work)
|
|
|
struct scrub_fixup_nodatasum *fixup;
|
|
|
struct scrub_ctx *sctx;
|
|
|
struct btrfs_trans_handle *trans = NULL;
|
|
|
- struct btrfs_fs_info *fs_info;
|
|
|
struct btrfs_path *path;
|
|
|
int uncorrectable = 0;
|
|
|
|
|
|
fixup = container_of(work, struct scrub_fixup_nodatasum, work);
|
|
|
sctx = fixup->sctx;
|
|
|
- fs_info = fixup->root->fs_info;
|
|
|
|
|
|
path = btrfs_alloc_path();
|
|
|
if (!path) {
|