diff options
author | David Sterba <dsterba@suse.com> | 2017-06-26 15:19:00 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-06-29 20:17:02 +0200 |
commit | ded56184a562b925a588b6e78688e2e60757b425 (patch) | |
tree | ba83cb171ab7f1ff717f292115b688a1446199a5 /fs/btrfs/ioctl.c | |
parent | bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 (diff) | |
download | op-kernel-dev-ded56184a562b925a588b6e78688e2e60757b425.zip op-kernel-dev-ded56184a562b925a588b6e78688e2e60757b425.tar.gz |
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/ioctl.c')
0 files changed, 0 insertions, 0 deletions