diff options
author | David Sterba <dsterba@suse.com> | 2017-06-26 09:19:00 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-06-29 14:17:02 -0400 |
commit | ded56184a562b925a588b6e78688e2e60757b425 (patch) | |
tree | ba83cb171ab7f1ff717f292115b688a1446199a5 /fs/btrfs/dev-replace.c | |
parent | bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 (diff) |
btrfs: scrub: fix target device intialization while setting up scrub context
The commit "btrfs: scrub: inline helper scrub_setup_wr_ctx" inlined a
helper but wrongly sets up the target device. Incidentally there's a
local variable with the same name as a parameter in the previous
function, so this got caught during runtime as crash in test btrfs/027.
Reported-by: Chris Mason <clm@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions