Fix lock recursion, triggered by `smartctl -a /dev/adaX`.