[ostree] deploy: Also fsync parent directory of modified config files
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] deploy: Also fsync parent directory of modified config files
- Date: Fri, 11 Apr 2014 22:45:15 +0000 (UTC)
commit 0b8495f09ac30dade375d57312781e71d3d07d9d
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]