--- ./source/private_module/pair/pair_group.c	2018-03-10 14:52:19.000000000 +0800
+++ ./source/private_module/pair/pair_group.c.hotpatch	2018-07-09 14:41:23.000000000 +0800
@@ -896,6 +896,7 @@
         return;
     }
 
+    spin_lock(&entry->lock);
     entryGroup = (OBJECT_S*)(void*)entry->entryGroup;
     /* PAIRIO_CHECK_OBJ(entryGroup); */
     rwOps = (PAIR_GROUP_RW_INTF_S*)(void*)entryGroup->type->ops.getInterface(entryGroup, PAIRIO_INTF_PAIR_RW);
@@ -912,6 +913,7 @@
             "%d, L2Write %d) failed.",
             dsId, L1CanRead, L1CanWrite, L2CanRead, L2CanWrite);
     }
+    spin_unlock(&entry->lock);
     
     /*ڲдȨ*/
     setPairInnerRwRight(dsId);
@@ -922,8 +924,6 @@
 /**************************************************************************
      : ɾpairʱentry˫дǲķʽ
  : PAIR_ENTRY_S* entry: entryָ
- : 
-   ֵ: 
      : 1.ҵ汣֤pairɾpair,ִܲ(LUN)
            2.ֻҪɾһpairŸentry˫дǲ췽ʽ
            3.ʵֻҪҪpair,entryGroupͻһֱ(ɾLUNʱɾ)
