esas2r: fix an error path in esas2r_ioctl_handler
authorTomas Henzl <thenzl@redhat.com>
Sun, 16 Nov 2014 13:35:33 +0000 (14:35 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Nov 2014 14:42:52 +0000 (15:42 +0100)
commitba9e5874b2f4a191cdd9de8a7ea96344458c1ab7
tree820f168b33981b1f02f2864d9833e06b8d5738bd
parentddcae01746b2eefadc78257ca57e327bc9fba791
esas2r: fix an error path in esas2r_ioctl_handler

Is seems strange to manipulate nvram_semaphore when in this place,
this patch fixes it.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Bradley Grove <bgrove@attotech.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/esas2r/esas2r_ioctl.c