]> git.baikalelectronics.ru Git - kernel.git/commit
target: Fix exception path pr_reg put regression for PR RELEASE
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 6 Nov 2012 23:46:25 +0000 (15:46 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 8 Nov 2012 04:12:06 +0000 (20:12 -0800)
commit725858705493e3a71568a29d79c308b20f023c88
tree9b4b406da47b94b363f06039b4a42013ef10c108
parentfcb52af0ff610210c8aa33577c6979c7b70f7704
target: Fix exception path pr_reg put regression for PR RELEASE

Fix a regression bug in core_scsi3_emulate_pro_release() where
should still be getting released via core_scsi3_put_pr_reg() during
No persistent reservation, with returing GOOD status.

Use goto statement here to follow converted code from hch.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_pr.c