Skip to contentSkip to conversation

f2fs: fix wrong comment of nat_tree_lock

PATCH In review qiulaibin 2 participants 2 messages Mar 23, 2021 – Mar 24, 2021 F2FS file system

lore
Share & tools
lore

qiulaibin

author
#0 lore raw

PATCH 1/1 f2fs: fix wrong comment of nat_tree_lock

Do trivial comment fix of nat_tree_lock.

---
 fs/f2fs/f2fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/f2fs.h +1 -1
index 165bfe2a5a0e..eb154d9cb063 100644
@@ -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 */
Signature · 8 lines
2.25.1



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel