Skip to content

Commit 01ba1bf

Browse files
Emil Hammarströmkartben
authored andcommitted
fs: zms: clarify need to re-mount after zms_clear
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 <[email protected]>
1 parent 2e2e3a3 commit 01ba1bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/zephyr/fs/zms.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ struct zms_fs {
9292
int zms_mount(struct zms_fs *fs);
9393

9494
/**
95-
* @brief Clear the ZMS file system from device.
95+
* @brief Clear the ZMS file system from device. The ZMS file system must be re-mounted after this
96+
* operation.
9697
*
9798
* @param fs Pointer to the file system.
9899
*

0 commit comments

Comments
 (0)