[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231106121418.3675-1-dslab@lzu.edu.cn>
Date: Mon, 6 Nov 2023 04:14:18 -0800
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>
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>
---
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 2ef6ad75edb6..e0e28fc53644 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -460,7 +460,7 @@ struct summary_footer {
#define NAT_JOURNAL_ENTRIES ((SUM_JOURNAL_SIZE - 2) /\
sizeof(struct nat_journal_entry))
#define NAT_JOURNAL_RESERVED ((SUM_JOURNAL_SIZE - 2) %\
- sizeof(struct nat_journal_entry))
+ sizeof(struct nat_journal_entry))SIT_JOURNA
#define SIT_JOURNAL_ENTRIES ((SUM_JOURNAL_SIZE - 2) /\
sizeof(struct sit_journal_entry))
#define SIT_JOURNAL_RESERVED ((SUM_JOURNAL_SIZE - 2) %\
--
2.25.1
Powered by blists - more mailing lists