Revision e8ba0b2b64126381643bb50df3556b139a60545a authored by Zhen Lei on 08 May 2021, 03:42:16 UTC, committed by Steven Rostedt (VMware) on 08 June 2021, 20:43:59 UTC
Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in this function.

Link: https://lkml.kernel.org/r/20210508034216.2277-1-thunder.leizhen@huawei.com

Fixes: a995e6bc0524 ("tools/bootconfig: Fix to check the write failure correctly")
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent 614124b
History
File Mode Size
Kconfig -rw-r--r-- 2.3 KB
Makefile -rw-r--r-- 248 bytes
compress.h -rw-r--r-- 2.5 KB
data.c -rw-r--r-- 7.5 KB
decompressor.c -rw-r--r-- 10.3 KB
dir.c -rw-r--r-- 3.4 KB
erofs_fs.h -rw-r--r-- 10.7 KB
inode.c -rw-r--r-- 9.3 KB
internal.h -rw-r--r-- 13.1 KB
namei.c -rw-r--r-- 5.8 KB
pcpubuf.c -rw-r--r-- 3.1 KB
super.c -rw-r--r-- 17.0 KB
tagptr.h -rw-r--r-- 3.0 KB
utils.c -rw-r--r-- 6.5 KB
xattr.c -rw-r--r-- 16.7 KB
xattr.h -rw-r--r-- 2.4 KB
zdata.c -rw-r--r-- 37.5 KB
zdata.h -rw-r--r-- 4.7 KB
zmap.c -rw-r--r-- 15.4 KB
zpvec.h -rw-r--r-- 3.5 KB

back to top