Merge pull request #3395 from cgwalters/syncfs-clarification

commit: Clarify that syncfs is of repo/tmp
This commit is contained in:
Colin Walters 2025-03-17 21:59:05 -04:00 committed by GitHub
commit 1f82bdeac9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))