diff options
author | David Sterba | 2019-02-12 16:51:18 +0100 |
---|---|---|
committer | David Sterba | 2019-02-25 14:13:38 +0100 |
commit | c8352942745e260d68dfdfdfbecd276c2aac3277 (patch) | |
tree | d733d79c6447923c9ddb1ec48f372aa164b19fdd /include/trace | |
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>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions