From: Sergey Senozhatsky Date: Wed, 26 Jun 2013 12:28:39 +0000 (+0300) Subject: staging: zram: protect zram_reset_device() call X-Git-Tag: v3.11-rc3~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=644d478793c6594277f8ae76954da4ace7ac6f96;p=pandora-kernel.git staging: zram: protect zram_reset_device() call Commit 9b3bb7abcdf2df0f1b2657e6cbc9d06bc2b3b36f (remove zram_sysfs file (v2)) accidentally made zram_reset_device() racy. Protect zram_reset_device() call with zram->lock. Signed-off-by: Sergey Senozhatsky Acked-by: Jerome Marchand Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed