From 01ba1bf8ce0915b55e2610bb54d20899a39ccb95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Hammarstr=C3=B6m?= Date: Thu, 13 Mar 2025 08:51:36 +0100 Subject: [PATCH] fs: zms: clarify need to re-mount after zms_clear MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clarify that the file system needs to be re-mounted after clearing. It was not clear that zms_clear both cleared and unmounted the fs. Signed-off-by: Emil Hammarström --- include/zephyr/fs/zms.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/zephyr/fs/zms.h b/include/zephyr/fs/zms.h index 72fedc53005..8b776b426f9 100644 --- a/include/zephyr/fs/zms.h +++ b/include/zephyr/fs/zms.h @@ -92,7 +92,8 @@ struct zms_fs { int zms_mount(struct zms_fs *fs); /** - * @brief Clear the ZMS file system from device. + * @brief Clear the ZMS file system from device. The ZMS file system must be re-mounted after this + * operation. * * @param fs Pointer to the file system. *