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:
|
||
|---|---|---|
| .. | ||
| include/linux | ||
| samples | ||
| scripts | ||
| .gitignore | ||
| main.c | ||
| Makefile | ||
| test-bootconfig.sh | ||