mirror of
https://github.com/apache/nuttx.git
synced 2025-12-11 21:20:26 +08:00
add a comment on littlefs_attr_s to explain what it is
i couldn't find any documenation about this attribute. this comment is purely based on my reading of the code. Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>
This commit is contained in:
committed by
Xiang Xiao
parent
02c9030e88
commit
90e9b2426d
@@ -82,6 +82,14 @@ struct littlefs_mountpt_s
|
||||
struct lfs lfs;
|
||||
};
|
||||
|
||||
/* NuttX specific file attributes.
|
||||
*
|
||||
* If CONFIG_FS_LITTLEFS_ATTR_UPDATE is enabled, we store this structure
|
||||
* on-disk as a littlefs user attribute with type=0.
|
||||
*
|
||||
* Note: the fields of this structure are in the host-endian, even on-disk.
|
||||
*/
|
||||
|
||||
struct littlefs_attr_s
|
||||
{
|
||||
uint32_t at_ver; /* For the later extension */
|
||||
|
||||
Reference in New Issue
Block a user