diff options
author | Sergey Senozhatsky <[email protected]> | 2013-06-26 15:28:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-07-23 15:08:50 -0700 |
commit | 644d478793c6594277f8ae76954da4ace7ac6f96 (patch) | |
tree | 150a2be39c9914953a83fcc7e4f2f0c4274290b2 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | f2a6fed1ceaecf6054627f0ddbd4becf43c997fc (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 <[email protected]>
Acked-by: Jerome Marchand <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions