[150/251] zram: protect sysfs handler from invalid memory access

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 5863e10b441e7ea4b492f930f1be180a97d026f3 ] Use zram->init_lock to protect access to zram->meta, otherwise it may cause invalid memory access if zram->meta

[150/251] zram: protect sysfs handler from invalid memory access

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 5863e10b441e7ea4b492f930f1be180a97d026f3 ] Use zram-init_lock to protect access to zram-meta, otherwise it may cause invalid memory access