]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd_types.{cc,h}: fix three typos in comments 4950/head
authorNathan Cutler <ncutler@suse.com>
Sat, 13 Jun 2015 18:36:09 +0000 (20:36 +0200)
committerNathan Cutler <ncutler@suse.com>
Sat, 13 Jun 2015 18:36:09 +0000 (20:36 +0200)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/osd/osd_types.cc
src/osd/osd_types.h

index 74c733e029064da670337769d46f4859f13dcfd0..eeaab4db0ebb924370e7d07c8c63863aa5376661 100644 (file)
@@ -3698,7 +3698,7 @@ void object_copy_data_t::dump(Formatter *f) const
   f->dump_int("size", size);
   f->dump_stream("mtime") << mtime;
   /* we should really print out the attrs here, but bufferlist
-     const-correctness prents that */
+     const-correctness prevents that */
   f->dump_int("attrs_size", attrs.size());
   f->dump_int("flags", flags);
   f->dump_unsigned("data_digest", data_digest);
index 09d67f210f436ce62ae398a4ca0a52048a15c2b3..c477f1d404c22f617f86bcf3e22dfdf483471572 100644 (file)
@@ -961,7 +961,7 @@ public:
    */
   map<snapid_t, pool_snap_info_t> snaps;
   /*
-   * Alternatively, if we are definining non-pool snaps (e.g. via the
+   * Alternatively, if we are defining non-pool snaps (e.g. via the
    * Ceph MDS), we must track @removed_snaps (since @snaps is not
    * used).  Snaps and removed_snaps are to be used exclusive of each
    * other!
@@ -3279,7 +3279,7 @@ public:
     return blocked;
   }
 
-  // do simple synchronous mutual exclusion, for now.  now waitqueues or anything fancy.
+  // do simple synchronous mutual exclusion, for now.  no waitqueues or anything fancy.
   void ondisk_write_lock() {
     lock.Lock();
     writers_waiting++;