diff options
author | Alan Cox <alan@linux.intel.com> | 2012-08-09 12:33:52 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-24 11:09:24 -0700 |
commit | e51c0ea1c933d98e3f0ea5bf0a8a3149475cf0a1 (patch) | |
tree | cb1a2e2ec6fc1e98c905154e4c7fd5395acac396 /fs/omfs | |
parent | 38180ec039a7589112633b85b2cfab72a76ec9c0 (diff) |
media: mantis: fix silly crash case
commit e1d45ae10aea8e8a403e5d96bf5902ee670007ff upstream.
If we set mantis->fe to NULL on an error its not a good idea to then try
passing NULL to the unregister paths and oopsing really.
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=16473
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/omfs')
0 files changed, 0 insertions, 0 deletions