fs3270: Correct error returns
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:46:09 +0000 (10:46 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:44 +0000 (09:51 -0700)
commita18992d4652553f65469ac72b54b7fdd4f058277
tree76b9347d3e11f0ef125f3466560f565e88a52d38
parenta90610e50b98e18385d4fbea2c9eaefb12c5a75c
fs3270: Correct error returns

Drop the kernel lock further and also correct cases where we set rc to an
error code, and then return 0

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/s390/char/fs3270.c