Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4167126pxf; Tue, 23 Mar 2021 04:35:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3rIARpy5rqASAFjqoJ6nFpu7Z6nJsO5TwXdWPpPEP9sXq+4poK6Sl13f1bCjf/j3PKN46 X-Received: by 2002:a17:906:81d5:: with SMTP id e21mr4450850ejx.102.1616499313172; Tue, 23 Mar 2021 04:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616499313; cv=none; d=google.com; s=arc-20160816; b=V6Q5kDk+KbplgbzbWKOHpNayGF5lPCkmURQut0J4WgAEhDikGNw6QQ1aw+rv7AxQny b3ljVwpiecV5FvuepK4phRg+zYHibmLZHrpRDiDJtdiQhM1hTMVrXfnZe7wCFgxi+v6f DX4mXgmbfN6wqg/g6onKiLETJUg5V4PytnMdLJv3WBE8WDTyPeV4QCHamMdUWBrSymk+ Dmov4rBj1Nmi+UZ17Ur6XDaycI937qrxhX0FBcW64eS869rkjIOvhmxjIrdlxKe5QU+m oe20nTkbtYPTJfqQYdPpg8Y/5p6u0xkiKK7ZvKLkKv3YIvs3puVDZyujzdb+qMvdZ0oq nRbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=kAisqsnPptiGfFx/MDJ5tHKluhE6e8lsKTeAwapoM1c=; b=Y7qwnduK96xmW/1DmGN6KFQMLsZFd+BUKM+kB3WncbJ4iuQO+QMv/AqsH+Sst/aZhA WotK1r9xaC1q3TkwvEC5dExHgamajsIOyYJ0Q9w58GdItFXq/chF1kLHYZbdhJuWzOA9 6ZDyLUKDBASIEM2ffY5wicmDbdZHhQNsCkRoZRR/oXw3aiNWuJVVM0U7wRAlo2At1h+P VwpDZ2/vJNfK05k6GmLbFoZKGzYNLm9+7Hgf9kosxVv8WnttTo82so0H/rvwgIWCFdhu rWeSPMUhFJ2sQNyMYGLA6Q5vuEdHJmM5HFOj3gJGQfAN2g9+9FNR2IiuCb5Ra+YlwCJa z8Qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si13760236edr.318.2021.03.23.04.34.50; Tue, 23 Mar 2021 04:35:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230363AbhCWLc0 (ORCPT + 99 others); Tue, 23 Mar 2021 07:32:26 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:13667 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbhCWLb4 (ORCPT ); Tue, 23 Mar 2021 07:31:56 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4F4TfX4JfGznV8x; Tue, 23 Mar 2021 19:29:24 +0800 (CST) Received: from huawei.com (10.175.124.27) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.498.0; Tue, 23 Mar 2021 19:31:52 +0800 From: qiulaibin To: , , CC: Subject: [PATCH -next] f2fs: fix wrong comment of nat_tree_lock Date: Tue, 23 Mar 2021 19:41:30 +0800 Message-ID: <20210323114130.2288596-1-qiulaibin@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Do trivial comment fix of nat_tree_lock. Signed-off-by: qiulaibin --- 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