Displaying 1 result from an estimated 1 matches for "0204caa".
2013 Jan 06
3
[PATCH] extlinux: Make sure ldlinux.sys file is installed
...m after crash or
something else - so we need to make sure that ldlinux.sys is installed
correctly in the mounted filesystem.
Signed-off-by: Paulo Alcantara <pcacjr at zytor.com>
---
extlinux/main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/extlinux/main.c b/extlinux/main.c
index 0204caa..f7eeeb7 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -687,6 +687,8 @@ static int xfs_install_file(const char *path, int devfd, struct stat *rst)
}
close(dirfd);
+
+ syncfs(fd);
close(fd);
return 0;
--
1.8.1