commit | c8352942745e260d68dfdfdfbecd276c2aac3277 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Feb 12 16:51:18 2019 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon Feb 25 14:13:38 2019 +0100 |
tree | d733d79c6447923c9ddb1ec48f372aa164b19fdd | |
parent | ff09c4ca5992b839b4e8b411f55aecd75735fc16 [diff] |
btrfs: scrub: add assertions for worker pointers The scrub worker pointers are not NULL iff the scrub is running, so reset them back once the last reference is dropped. Add assertions to the initial phase of scrub to verify that. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>