[PATCH 009/145] zram: avoid invalid memory access in zram_exit()

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu commit 6030ea9b35971a4200062f010341ab832e878ac9 upstream. Memory for zram->disk object may have already been freed after returning from destroy_device(zram), then it's unsafe

[PATCH 009/145] zram: avoid invalid memory access in zram_exit()

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu liu...@gmail.com commit 6030ea9b35971a4200062f010341ab832e878ac9 upstream. Memory for zram-disk object may have already been freed after returning from destroy_device(zram),