summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2016-01-20 03:21:00 +0100
committerChris Mason <clm@fb.com>2016-01-20 03:21:00 +0100
commitacc308556c812485462b6b43843c3f64530dd843 (patch)
treefa26745572077d32d446e5fc444eb253812577d1 /fs/btrfs/scrub.c
parentMerge branch 'for-chris-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
parentbtrfs: remove duplicate const specifier (diff)
downloadlinux-acc308556c812485462b6b43843c3f64530dd843.tar.xz
linux-acc308556c812485462b6b43843c3f64530dd843.zip
Merge branch 'misc-cleanups-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.5
Diffstat (limited to 'fs/btrfs/scrub.c')
-rw-r--r--fs/btrfs/scrub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c
index 0c981ebe2acb..681db07f25ea 100644
--- a/fs/btrfs/scrub.c
+++ b/fs/btrfs/scrub.c
@@ -3458,7 +3458,7 @@ static noinline_for_stack int scrub_chunk(struct scrub_ctx *sctx,
return ret;
}
- map = (struct map_lookup *)em->bdev;
+ map = em->map_lookup;
if (em->start != chunk_offset)
goto out;