aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2013-06-26 15:28:39 +0300
committerMister Oyster <oysterized@gmail.com>2016-12-11 12:53:04 +0100
commitde49402eb1212dfb24584f296cb06549db7930f1 (patch)
tree823c75c59f2a207d6efcbe73354366175bfd2439 /include/linux
parent67458e9e1f13ab39df41cad4f7f3832bdd961f51 (diff)
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 <sergey.senozhatsky@gmail.com> Acked-by: Jerome Marchand <jmarchand@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions