]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: cleanup: fix a typo in CreateRequest.
authorDongsheng Yang <dongsheng.yang@easystack.cn>
Sat, 19 Nov 2016 13:04:53 +0000 (08:04 -0500)
committerDongsheng Yang <dongsheng.yang@easystack.cn>
Sat, 19 Nov 2016 13:04:53 +0000 (08:04 -0500)
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
src/librbd/image/CreateRequest.cc

index 531a149a2ddbe007f7ebfb80dd6eda29f0d2eefe..318dc4c3414f5b93f496ff397ebc29f3e53e317f 100644 (file)
@@ -317,7 +317,7 @@ Context* CreateRequest<I>::handle_validate_pool(int *result) {
 
   r = m_ioctx.selfmanaged_snap_remove(snap_id);
   if (r < 0) {
-    // we've already switced to self-managed snapshots -- no need to
+    // we've already switched to self-managed snapshots -- no need to
     // error out in case of failure here.
     ldout(m_cct, 10) << "failed to release self-managed snapshot " << snap_id
                      << ": " << cpp_strerror(r) << dendl;
@@ -749,7 +749,7 @@ void CreateRequest<I>::send_watcher_notification() {
       handle_watcher_notify(r);
     });
 
-    m_op_work_queue->queue(ctx, 0);
+  m_op_work_queue->queue(ctx, 0);
 }
 
 template<typename I>