]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
clarify CDir/CInode content comments a little bit
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 27 Oct 2010 21:43:48 +0000 (14:43 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 27 Oct 2010 21:43:48 +0000 (14:43 -0700)
src/mds/CDir.h
src/mds/CInode.h

index a10fc504539de146fa016c8a4aad112a00fb0512..54df41552520d3f242737d546b99f33aeb433206 100644 (file)
@@ -216,7 +216,7 @@ public:
   typedef map<dentry_key_t, CDentry*> map_t;
 protected:
 
-  // contents
+  // contents of this directory
   map_t items;       // non-null AND null
   unsigned num_head_items;
   unsigned num_head_null;
index 5e8b6f7be751fe873fedd3480a6d10a79a7fcadd..2e04c72d434f82b10795abe1bc429216eeb15bea 100644 (file)
@@ -354,7 +354,7 @@ public:
 
   // -- cache infrastructure --
 private:
-  map<frag_t,CDir*> dirfrags; // cached dir fragments
+  map<frag_t,CDir*> dirfrags; // cached dir fragments under this Inode
   int stickydir_ref;
 
 public: