diff options
author | Li Pengcheng <lipengcheng8@huawei.com> | 2016-11-05 05:15:59 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-11-09 03:44:33 +0300 |
commit | 959217c84c2765434cd2cbf3d7ffdc09e90834f9 (patch) | |
tree | 21a2ac73eabb5a19694a617440a51e2cdd650a5c /arch/arm/mach-s3c24xx/sleep-s3c2410.S | |
parent | 07d9a380680d1c0eb51ef87ff2eab5c994949e69 (diff) | |
download | linux-959217c84c2765434cd2cbf3d7ffdc09e90834f9.tar.xz |
pstore: Actually give up during locking failure
Without a return after the pr_err(), dumps will collide when two threads
call pstore_dump() at the same time.
Signed-off-by: Liu Hailong <liuhailong5@huawei.com>
Signed-off-by: Li Pengcheng <lipengcheng8@huawei.com>
Signed-off-by: Li Zhong <lizhong11@hisilicon.com>
[kees: improved commit message]
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/arm/mach-s3c24xx/sleep-s3c2410.S')
0 files changed, 0 insertions, 0 deletions