[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231104074501.13998-1-dslab@lzu.edu.cn>
Date: Sat, 4 Nov 2023 00:45:01 -0700
From: dslab@....edu.cn
To: jaegeuk@...nel.org, chao@...nel.org
Cc: linux-f2fs-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, Yang Hubin <yanghb2019@....edu.cn>,
Qian Haolai <qianhl2023@....edu.cn>
Subject: [PATCH] f2fs: the name of a struct is wrong in a comment.
From: Yang Hubin <yanghb2019@....edu.cn>
The macro SUMMARY_SIZE represents the size of the struct f2fs_summary,
instead of the size of the struct summary.
Signed-off-by: Yang Hubin <yanghb2019@....edu.cn>
Signed-off-by: Qian Haolai <qianhl2023@....edu.cn>
---
include/linux/f2fs_fs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index a82a4bb6ce68..2ef6ad75edb6 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -430,7 +430,7 @@ struct f2fs_sit_block {
* ex) data_blkaddr = (block_t)(nodepage_start_address + ofs_in_node)
*/
#define ENTRIES_IN_SUM 512
-#define SUMMARY_SIZE (7) /* sizeof(struct summary) */
+#define SUMMARY_SIZE (7) /* sizeof(struct f2fs_summary) */
#define SUM_FOOTER_SIZE (5) /* sizeof(struct summary_footer) */
#define SUM_ENTRY_SIZE (SUMMARY_SIZE * ENTRIES_IN_SUM)
--
2.25.1
Powered by blists - more mailing lists