fix release
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2025-03-23 10:05:31 -05:00
parent 6b18a72b95
commit 5dc3a0239f

View File

@ -51,8 +51,6 @@ private:
[[nodiscard]] auto get_lock_file() -> std::string; [[nodiscard]] auto get_lock_file() -> std::string;
private: private:
void release();
[[nodiscard]] static auto wait_for_lock(int fd, [[nodiscard]] static auto wait_for_lock(int fd,
std::uint8_t retry_count = 30u) std::uint8_t retry_count = 30u)
-> int; -> int;
@ -62,6 +60,8 @@ public:
[[nodiscard]] auto grab_lock(std::uint8_t retry_count = 30u) -> lock_result; [[nodiscard]] auto grab_lock(std::uint8_t retry_count = 30u) -> lock_result;
void release();
[[nodiscard]] auto set_mount_state(bool active, [[nodiscard]] auto set_mount_state(bool active,
const std::string &mount_location, int pid) const std::string &mount_location, int pid)
-> bool; -> bool;