Skip to content

Commit f3e367d

Browse files
qiulaibinJaegeuk Kim
authored andcommitted
f2fs: fix wrong comment of nat_tree_lock
Do trivial comment fix of nat_tree_lock. Signed-off-by: qiulaibin <qiulaibin@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 parent b862676 commit f3e367d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/f2fs/f2fs.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ struct f2fs_nm_info {
865865
/* NAT cache management */
866866
struct radix_tree_root nat_root;/* root of the nat entry cache */
867867
struct radix_tree_root nat_set_root;/* root of the nat set cache */
868-
struct rw_semaphore nat_tree_lock; /* protect nat_tree_lock */
868+
struct rw_semaphore nat_tree_lock; /* protect nat entry tree */
869869
struct list_head nat_entries; /* cached nat entry list (clean) */
870870
spinlock_t nat_list_lock; /* protect clean nat entry list */
871871
unsigned int nat_cnt[MAX_NAT_STATE]; /* the # of cached nat entries */

0 commit comments

Comments
 (0)