summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorqiulaibin <qiulaibin@huawei.com>2021-03-23 14:41:30 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2021-03-26 04:20:51 +0300
commitf3e367d4fe2bcccb51d64cb974f73153d23adf15 (patch)
treefc37ca4f5d0d98006d56dd48cde53f9f901e8b17 /fs
parentb862676e371715456c9dade7990c8004996d0d9e (diff)
downloadlinux-f3e367d4fe2bcccb51d64cb974f73153d23adf15.tar.xz
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 1 insertions, 1 deletions
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 */