* [f2fs-dev] [PATCH -next] f2fs: fix wrong comment of nat_tree_lock
@ 2021-03-23 11:41 qiulaibin
2021-03-24 1:24 ` Chao Yu
0 siblings, 1 reply; 2+ messages in thread
From: qiulaibin @ 2021-03-23 11:41 UTC (permalink / raw)
To: jaegeuk, chao, linux-f2fs-devel; +Cc: linux-kernel
Do trivial comment fix of nat_tree_lock.
Signed-off-by: qiulaibin <qiulaibin@huawei.com>
---
fs/f2fs/f2fs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 165bfe2a5a0e..eb154d9cb063 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -865,7 +865,7 @@ struct f2fs_nm_info {
/* NAT cache management */
struct radix_tree_root nat_root;/* root of the nat entry cache */
struct radix_tree_root nat_set_root;/* root of the nat set cache */
- struct rw_semaphore nat_tree_lock; /* protect nat_tree_lock */
+ struct rw_semaphore nat_tree_lock; /* protect nat entry tree */
struct list_head nat_entries; /* cached nat entry list (clean) */
spinlock_t nat_list_lock; /* protect clean nat entry list */
unsigned int nat_cnt[MAX_NAT_STATE]; /* the # of cached nat entries */
--
2.25.1
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [f2fs-dev] [PATCH -next] f2fs: fix wrong comment of nat_tree_lock
2021-03-23 11:41 [f2fs-dev] [PATCH -next] f2fs: fix wrong comment of nat_tree_lock qiulaibin
@ 2021-03-24 1:24 ` Chao Yu
0 siblings, 0 replies; 2+ messages in thread
From: Chao Yu @ 2021-03-24 1:24 UTC (permalink / raw)
To: qiulaibin, jaegeuk; +Cc: linux-kernel, linux-f2fs-devel
On 2021/3/23 19:41, qiulaibin wrote:
> Do trivial comment fix of nat_tree_lock.
>
> Signed-off-by: qiulaibin <qiulaibin@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-24 1:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-23 11:41 [f2fs-dev] [PATCH -next] f2fs: fix wrong comment of nat_tree_lock qiulaibin
2021-03-24 1:24 ` Chao Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).