mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 11:10:44 +00:00
We were destroying the item subsystem before shutting down locking. This is wrong because locking shutdown invalidates items covered by the locks. It can walk into freed memory and crash or corrupt other memory. The fix is to tear down the item subsystem after tearing down locks. Signed-off-by: Zach Brown <zab@versity.com>