esas2r: fix an oversight in setting return value
authorTomas Henzl <thenzl@redhat.com>
Sun, 16 Nov 2014 13:35:34 +0000 (14:35 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Nov 2014 14:42:52 +0000 (15:42 +0100)
commit68b14b8f9482b6c42cec71e06613f5684e89d275
tree5aa7c5f3db01c042acf231a9b48fa4c6c297ae32
parentba9e5874b2f4a191cdd9de8a7ea96344458c1ab7
esas2r: fix an oversight in setting return value

The patch moves an error code assigment to a 'default' case
in the previous switch statement.

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