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: NLiu Hailong <liuhailong5@huawei.com> Signed-off-by: NLi Pengcheng <lipengcheng8@huawei.com> Signed-off-by: NLi Zhong <lizhong11@hisilicon.com> [kees: improved commit message] Signed-off-by: NKees Cook <keescook@chromium.org>
Showing
想要评论请 注册 或 登录