summaryrefslogtreecommitdiff
path: root/include/linux/bootconfig.h
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-11-19 14:53:31 +0900
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-11-19 08:55:44 -0500
commita995e6bc0524450adfd6181dfdcd9d0520cfaba5 (patch)
treed8974d929e0e3be31611afd00f4f64539a8aedf1 /include/linux/bootconfig.h
parenta61ea6379ae9dbb63fbf022d1456733520db6be7 (diff)
tools/bootconfig: Fix to check the write failure correctly
Fix to check the write(2) failure including partial write correctly and try to rollback the partial write, because if there is no BOOTCONFIG_MAGIC string, we can not remove it. Link: https://lkml.kernel.org/r/160576521135.320071.3883101436675969998.stgit@devnote2 Fixes: 85c46b78da58 ("bootconfig: Add bootconfig magic word for indicating bootconfig explicitly") Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/bootconfig.h')
0 files changed, 0 insertions, 0 deletions