]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PrimaryLogPG: do_osd_ops: update LIST_SNAPS comment
authorSage Weil <sage@redhat.com>
Fri, 1 Sep 2017 01:10:18 +0000 (21:10 -0400)
committerSage Weil <sage@redhat.com>
Mon, 11 Sep 2017 14:13:35 +0000 (09:13 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PrimaryLogPG.cc

index c526d245e95b73ffeb6d0f6dcba7fd5c13a01ebd..11bc22ff005a50fa667d439ad077d36a9bdca538 100644 (file)
@@ -5489,7 +5489,7 @@ int PrimaryLogPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
             * in the ObjectContext, so we aren't performing an actual read unless
             * the clone obc is not already loaded (in which case, it cannot have
             * an in progress write).  We also do not risk exposing uncommitted
-            * state since we do have a read lock on the head object or snapdir,
+            * state since we do have a read lock on the head object,
             * which we would have to write lock in order to make user visible
             * modifications to the snapshot state (snap trim related mutations
             * are not user visible).