locking.c: Refactor the main locking flow.
[misc] / debian / compat
1 9