Skip to content
Commit 959217c8 authored by Li Pengcheng's avatar Li Pengcheng Committed by Kees Cook
Browse files

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: default avatarLiu Hailong <liuhailong5@huawei.com>
Signed-off-by: default avatarLi Pengcheng <lipengcheng8@huawei.com>
Signed-off-by: default avatarLi Zhong <lizhong11@hisilicon.com>
[kees: improved commit message]
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 07d9a380
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment