summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorqiulaibin <qiulaibin@huawei.com>2021-03-23 19:41:30 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-03-25 18:20:51 -0700
commitf3e367d4fe2bcccb51d64cb974f73153d23adf15 (patch)
treefc37ca4f5d0d98006d56dd48cde53f9f901e8b17 /fs/f2fs
parentb862676e371715456c9dade7990c8004996d0d9e (diff)
downloadlinux-stable-f3e367d4fe2bcccb51d64cb974f73153d23adf15.tar.gz
linux-stable-f3e367d4fe2bcccb51d64cb974f73153d23adf15.tar.bz2
linux-stable-f3e367d4fe2bcccb51d64cb974f73153d23adf15.zip
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/f2fs')
-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 */