From 60111786d6ed64bf13f607bdfa4b20da838edaf7 Mon Sep 17 00:00:00 2001 From: zhangshoukui Date: Fri, 17 Jan 2025 10:37:41 +0800 Subject: [PATCH] fs/littlefs: Code comment correction Signed-off-by: zhangshoukui --- fs/littlefs/lfs_vfs.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/fs/littlefs/lfs_vfs.c b/fs/littlefs/lfs_vfs.c index 3cc55e43bb..84dcd820f8 100644 --- a/fs/littlefs/lfs_vfs.c +++ b/fs/littlefs/lfs_vfs.c @@ -1144,14 +1144,7 @@ static int littlefs_rewinddir(FAR struct inode *mountpt, } /**************************************************************************** - * Name: littlefs_bind - * - * Description: This implements a portion of the mount operation. This - * function allocates and initializes the mountpoint private data and - * binds the driver inode to the filesystem private data. The final - * binding of the private data (containing the driver) to the - * mountpoint is performed by mount(). - * + * Name: littlefs_read_block ****************************************************************************/ static int littlefs_read_block(FAR const struct lfs_config *c, @@ -1260,6 +1253,13 @@ static int littlefs_sync_block(FAR const struct lfs_config *c) /**************************************************************************** * Name: littlefs_bind + * + * Description: This implements a portion of the mount operation. This + * function allocates and initializes the mountpoint private data and + * binds the driver inode to the filesystem private data. The final + * binding of the private data (containing the driver) to the + * mountpoint is performed by mount(). + * ****************************************************************************/ static int littlefs_bind(FAR struct inode *driver, FAR const void *data,