commit | 3bf040c75294ad9470b11902477e2c07af2031bd | [log] [tgz] |
---|---|---|
author | Minchan Kim <minchan.kim@gmail.com> | Mon Jan 11 16:15:53 2010 +0900 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Mar 03 16:42:42 2010 -0800 |
tree | 39c21380af91c3cbb7e111a35577cb6d54390830 | |
parent | b76a32638d9d7d6b421fccce02e667007509bd7b [diff] |
Staging: ramzswap: Free memory when create_device is failed If create_device is failed, it can't free gendisk and request_queue of preceding devices. It cause memory leak. This patch fixes it. Signed-off-by: Minchan Kim <minchan.kim@gmail.com> Acked-by: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>