Skip to content
Commit 967ef513 authored by Justin Maggard's avatar Justin Maggard Committed by Chris Mason
Browse files

btrfs: qgroup: fix quota disable during rescan



There's a race condition that leads to a NULL pointer dereference if you
disable quotas while a quota rescan is running.  To fix this, we just need
to wait for the quota rescan worker to actually exit before tearing down
the quota structures.

Signed-off-by: default avatarJustin Maggard <jmaggard@netgear.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 036a9348
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment