commit | 967ef5131e42d6e3bb216c44161d893048a49957 | [log] [tgz] |
---|---|---|
author | Justin Maggard <jmaggard10@gmail.com> | Fri Nov 06 10:36:42 2015 -0800 |
committer | Chris Mason <clm@fb.com> | Wed Nov 25 05:22:08 2015 -0800 |
tree | 245253c420e34541f82ef76d46f2b89226ab025b | |
parent | 036a9348dcd0060e3df8f5b5db2a59e7d7eaf1f5 [diff] |
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: Justin Maggard <jmaggard@netgear.com> Signed-off-by: Chris Mason <clm@fb.com>