]> git.baikalelectronics.ru Git - kernel.git/commit
nozomi: Fix close on error
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:35:33 +0000 (10:35 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:39 +0000 (09:51 -0700)
commit63f7013489acf3d09e39cea7925a45156873af23
treecfb920b117c19b4f88722e910358c2a812349a7f
parent4afa2dcf476b7b1bd55f0aa995839a20a1dc45b5
nozomi: Fix close on error

Nozomi assumes the close method isn't called if open errors. The tty layer
is different to other drives in this respect however. Pointed out by Denis J
Barrow.

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