diff options
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/glfs-operations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/glfs-operations.c b/rpc/glfs-operations.c index c7d38c4..9ae8ec5 100644 --- a/rpc/glfs-operations.c +++ b/rpc/glfs-operations.c @@ -102,7 +102,7 @@ glusterBlockCreateEntry(struct glfs *glfs, blockCreateCli *blk, char *gbid, } tgfd = glfs_creat(glfs, gbid, - O_WRONLY | O_CREAT | O_EXCL, + O_WRONLY | O_CREAT | O_EXCL | O_SYNC, S_IRUSR | S_IWUSR); if (!tgfd) { *errCode = errno; |