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-- 1.5 KB
Makefile -rw-r--r-- 372 bytes
acl.c -rw-r--r-- 5.6 KB
addr.c -rw-r--r-- 53.2 KB
cache.c -rw-r--r-- 5.6 KB
cache.h -rw-r--r-- 2.8 KB
caps.c -rw-r--r-- 121.8 KB
ceph_frag.c -rw-r--r-- 401 bytes
debugfs.c -rw-r--r-- 11.8 KB
dir.c -rw-r--r-- 51.5 KB
export.c -rw-r--r-- 13.4 KB
file.c -rw-r--r-- 64.7 KB
inode.c -rw-r--r-- 66.5 KB
io.c -rw-r--r-- 4.5 KB
io.h -rw-r--r-- 387 bytes
ioctl.c -rw-r--r-- 7.5 KB
ioctl.h -rw-r--r-- 3.6 KB
locks.c -rw-r--r-- 12.9 KB
mds_client.c -rw-r--r-- 136.5 KB
mds_client.h -rw-r--r-- 17.3 KB
mdsmap.c -rw-r--r-- 10.2 KB
metric.c -rw-r--r-- 9.6 KB
metric.h -rw-r--r-- 5.0 KB
quota.c -rw-r--r-- 13.9 KB
snap.c -rw-r--r-- 32.0 KB
strings.c -rw-r--r-- 4.2 KB
super.c -rw-r--r-- 32.6 KB
super.h -rw-r--r-- 40.3 KB
util.c -rw-r--r-- 2.4 KB
xattr.c -rw-r--r-- 34.9 KB

back to top