diff --git a/[refs] b/[refs] index e57753428113..b0da80e56f87 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b69c1fcf0a7cb2b7dff12ce4e8506b395431a52c +refs/heads/master: bb7a8c8eb9678666fb05f3bc542581365399a161 diff --git a/trunk/drivers/target/target_core_pr.c b/trunk/drivers/target/target_core_pr.c index ffbe0ea9bbad..d7101a4d7a31 100644 --- a/trunk/drivers/target/target_core_pr.c +++ b/trunk/drivers/target/target_core_pr.c @@ -2604,7 +2604,7 @@ core_scsi3_emulate_pro_release(struct se_cmd *cmd, int type, int scope, * No persistent reservation, return GOOD status. */ spin_unlock(&dev->dev_reservation_lock); - return 0; + goto out_put_pr_reg; } if ((pr_res_holder->pr_res_type == PR_TYPE_WRITE_EXCLUSIVE_ALLREG) || (pr_res_holder->pr_res_type == PR_TYPE_EXCLUSIVE_ACCESS_ALLREG))