mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-21 23:42:23 +00:00
325eadca9f
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>