scst, persistent reservations: Fix a locking error (merge r4641 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5012 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-09-30 08:18:51 +00:00
parent 4ac0869467
commit 6f2b1ee65d
-1
View File
@@ -2150,7 +2150,6 @@ static int scst_persistent_reserve_in_local(struct scst_cmd *cmd)
break;
default:
PRINT_ERROR("Unsupported action %x", action);
scst_pr_write_unlock(dev);
goto out_err;
}