diff options
author | James Bottomley <James.Bottomley@suse.de> | 2010-03-12 16:14:42 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 09:52:55 -0700 |
commit | a85ad775e7473d447dc5f9e35b0475ce17497cf3 (patch) | |
tree | ba2915877acf80356df0f337821bfbe5712926d1 /fs | |
parent | e1377aee4e4d4f5f0621b399b247b0790330b4c9 (diff) |
SCSI: enclosure: fix error path - actually return ERR_PTR() on error
commit a91c1be21704113b023919826c6d531da46656ef upstream.
we also need to clean up and free the cdev.
Reported-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions