Browse Source

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 <emil.hammarstrom1@assaabloy.com>
pull/87674/head
Emil Hammarström 4 months ago committed by Benjamin Cabé
parent
commit
01ba1bf8ce
  1. 3
      include/zephyr/fs/zms.h

3
include/zephyr/fs/zms.h

@ -92,7 +92,8 @@ struct zms_fs { @@ -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.
*

Loading…
Cancel
Save