diff options
author | Olivier Blin <blino@mandriva.com> | 2008-08-08 12:01:11 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-14 04:43:45 -0400 |
commit | add477df674db00377d9a4dc0d9b553ce79bc06d (patch) | |
tree | 6b52bedf8a3c17ddb8259b717b68e6b6f759be2b /drivers/mtd/mtdchar.c | |
parent | 1595ab5d7d99bc6c9a5548ab3fb83e278eeae409 (diff) |
hso: fix oops in read/write callbacks
The tty may be closed already when the read/write callbacks are called.
This patch checks that the ttys still exist before waking them up.
Signed-off-by: Olivier Blin <blino@mandriva.com>
Acked-by: Alan Cox <alan@redhat.com>
Cc: Jari Tenhunen <jari.tenhunen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/mtd/mtdchar.c')
0 files changed, 0 insertions, 0 deletions