mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-25 18:50:44 +03:00
commit: Clarify that syncfs is of repo/tmp
We saw this in an error message: ``` error: Generating commit from rootfs: syncfs: Not a directory ``` I'm pretty sure it's this function call but let's be a bit more sure by adding a bit more context.
This commit is contained in:
parent
364e22f19c
commit
688ab1aa8e
@ -2233,7 +2233,7 @@ ostree_repo_commit_transaction (OstreeRepo *self, OstreeRepoTransactionStats *ou
|
||||
if (!self->disable_fsync && g_getenv ("OSTREE_SUPPRESS_SYNCFS") == NULL)
|
||||
{
|
||||
if (syncfs (self->tmp_dir_fd) < 0)
|
||||
return glnx_throw_errno_prefix (error, "syncfs");
|
||||
return glnx_throw_errno_prefix (error, "syncfs(repo/tmp)");
|
||||
}
|
||||
|
||||
if (!rename_pending_loose_objects (self, cancellable, error))
|
||||
|
Loading…
x
Reference in New Issue
Block a user