mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-09 21:27:25 +00:00
The item cache has a bit of safety checks that make sure that an operation is performed while holding a lock that covers the item. It dumped a stack trace via WARN when that wasn't true, but it didn't include any details about the keys or lock modes involved. This adds a message that's printed once which includes the keys and modes when an operation is attempted that isn't protected. Signed-off-by: Zach Brown <zab@versity.com>