mirror of
https://github.com/versity/scoutfs.git
synced 2026-04-13 02:16:58 +00:00
This reduces the amount of duplicate code in callers and makes error handling easier. The alternative is to sprinkle the code with 'if (lock)' lines at the end of our functions. Signed-off-by: Mark Fasheh <mfasheh@versity.com>