[ostree/wip/fsync: 5/11] deploy: Also fsync parent directory of modified config files
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree/wip/fsync: 5/11] deploy: Also fsync parent directory of modified config files
- Date: Wed, 9 Apr 2014 05:53:27 +0000 (UTC)
commit 41213909e5ba20adcff91da34fc751403fa4a8ec
Author: Colin Walters <walters verbum org>
Date: Tue Apr 8 17:41:28 2014 -0400
deploy: Also fsync parent directory of modified config files
src/libostree/ostree-sysroot-deploy.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
index 44ad959..0856cc1 100644
--- a/src/libostree/ostree-sysroot-deploy.c
+++ b/src/libostree/ostree-sysroot-deploy.c
@@ -91,6 +91,8 @@ copy_modified_config_file (GFile *orig_etc,
if (!gs_file_sync_data (dest, cancellable, error))
goto out;
}
+ if (!ot_util_fsync_directory (dest_parent, cancellable, error))
+ goto out;
}
ret = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]