]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix the comment in add_inode
authorXiubo Li <xiubli@redhat.com>
Thu, 3 Jun 2021 05:25:36 +0000 (13:25 +0800)
committerXiubo Li <xiubli@redhat.com>
Fri, 5 Nov 2021 02:52:15 +0000 (10:52 +0800)
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit e02c3295534bc771fee79afbab7bf32abff33cb7)

src/mds/MDCache.cc

index e9cbf7141c4c3b1f9cd3ce276078a8fd68e79108..4533cfde1baa8d30e94572fc6340c72d7f4f0f38 100644 (file)
@@ -254,9 +254,9 @@ bool MDCache::shutdown()
 // ====================================================================
 // some inode functions
 
-void MDCache::add_inode(CInode *in) 
+void MDCache::add_inode(CInode *in)
 {
-  // add to lru, inode map
+  // add to inode map
   if (in->last == CEPH_NOSNAP) {
     auto &p = inode_map[in->ino()];
     ceph_assert(!p); // should be no dup inos!