[147/251] zram: destroy all devices on error recovery path in zram_init()

2013-09-10 Thread Steven Rostedt
3.6.11.9-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu [ Upstream commit 39a9b8ac9333e4268ecff7da6c9d1ab3823ff243 ] On error recovery path of zram_init(), it leaks the zram device object causing the failure. So change

[147/251] zram: destroy all devices on error recovery path in zram_init()

2013-09-10 Thread Steven Rostedt
3.6.11.9-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu liu...@gmail.com [ Upstream commit 39a9b8ac9333e4268ecff7da6c9d1ab3823ff243 ] On error recovery path of zram_init(), it leaks the zram device object causing the failure. So