|
@@ -2616,7 +2616,9 @@ static int dlm_migrate_lockres(struct dlm_ctxt *dlm,
|
|
|
* otherwise the assert_master from the new
|
|
* otherwise the assert_master from the new
|
|
|
* master will destroy this.
|
|
* master will destroy this.
|
|
|
*/
|
|
*/
|
|
|
- dlm_get_mle_inuse(mle);
|
|
|
|
|
|
|
+ if (ret != -EEXIST)
|
|
|
|
|
+ dlm_get_mle_inuse(mle);
|
|
|
|
|
+
|
|
|
spin_unlock(&dlm->master_lock);
|
|
spin_unlock(&dlm->master_lock);
|
|
|
spin_unlock(&dlm->spinlock);
|
|
spin_unlock(&dlm->spinlock);
|
|
|
|
|
|