From: Nathan Cutler Date: Sat, 13 Jun 2015 18:36:09 +0000 (+0200) Subject: osd_types.{cc,h}: fix three typos in comments X-Git-Tag: v9.0.3~189^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=724c139cca604c5813cf72a2eccad06f1262ab65;p=ceph.git osd_types.{cc,h}: fix three typos in comments Signed-off-by: Nathan Cutler --- diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 74c733e029064..eeaab4db0ebb9 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -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); diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 09d67f210f436..c477f1d404c22 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -961,7 +961,7 @@ public: */ map 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++;