diff options
| author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2013-06-26 15:28:39 +0300 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2016-12-11 12:53:04 +0100 |
| commit | de49402eb1212dfb24584f296cb06549db7930f1 (patch) | |
| tree | 823c75c59f2a207d6efcbe73354366175bfd2439 /include/linux/cdev.h | |
| parent | 67458e9e1f13ab39df41cad4f7f3832bdd961f51 (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/cdev.h')
0 files changed, 0 insertions, 0 deletions
