Commit ce3e7f10 authored by Valentina Giusti's avatar Valentina Giusti Committed by Chris Mason

btrfs: remove unused variable from scrub_fixup_nodatasum

Signed-off-by: default avatarValentina Giusti <valentina.giusti@microon.de>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent f0265bb4
...@@ -704,13 +704,11 @@ static void scrub_fixup_nodatasum(struct btrfs_work *work) ...@@ -704,13 +704,11 @@ static void scrub_fixup_nodatasum(struct btrfs_work *work)
struct scrub_fixup_nodatasum *fixup; struct scrub_fixup_nodatasum *fixup;
struct scrub_ctx *sctx; struct scrub_ctx *sctx;
struct btrfs_trans_handle *trans = NULL; struct btrfs_trans_handle *trans = NULL;
struct btrfs_fs_info *fs_info;
struct btrfs_path *path; struct btrfs_path *path;
int uncorrectable = 0; int uncorrectable = 0;
fixup = container_of(work, struct scrub_fixup_nodatasum, work); fixup = container_of(work, struct scrub_fixup_nodatasum, work);
sctx = fixup->sctx; sctx = fixup->sctx;
fs_info = fixup->root->fs_info;
path = btrfs_alloc_path(); path = btrfs_alloc_path();
if (!path) { if (!path) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment