firewire: Only set client->iso_context if allocation was successful.
authorKristian Høgsberg <krh@redhat.com>
Wed, 20 Jun 2007 21:48:07 +0000 (17:48 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 20 Jun 2007 22:09:41 +0000 (00:09 +0200)
commit24315c5e6f508edd84e996d67daef3d1bcc72f8b
tree02ea28b57eac01929dd8b7bcb761527b92941af5
parent18b461796b737f94286f73710debc8649467161b
firewire: Only set client->iso_context if allocation was successful.

This patch fixes an OOPS on cdev release for an fd where iso context
creation failed.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-cdev.c