util/rename: rename x_i_fsync

rename to fsync_on_eintr, because that's what it does

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-19 07:38:54 +00:00
parent 846cb23585
commit 6d0bb47b82

View File

@@ -147,7 +147,7 @@ fsync_dir(const char *path)
} }
/* sync file on disk */ /* sync file on disk */
if (x_i_fsync(dirfd) == -1) if (fsync_on_eintr(dirfd) == -1)
goto err_fsync_dir; goto err_fsync_dir;
if (x_i_close(dirfd) == -1) if (x_i_close(dirfd) == -1)
@@ -924,7 +924,7 @@ x_i_close(int fd)
} }
int int
x_i_fsync(int fd) fsync_on_eintr(int fd)
{ {
int r; int r;