From 09943beb499617212f2985ca8ea9ecd1ed1b470e Mon Sep 17 00:00:00 2001 From: Kinglong Mee Date: Thu, 18 Jan 2018 15:51:18 +0800 Subject: gfapi: return pre/post attributes from glfs_fsync/fdatasync Updates: #389 Change-Id: I4153df72d5eeecefa7579170899db4c340128bea Signed-off-by: Kinglong Mee --- xlators/cluster/dht/src/dht-rebalance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster') diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c index 68afb2615a6..5bd81244b74 100644 --- a/xlators/cluster/dht/src/dht-rebalance.c +++ b/xlators/cluster/dht/src/dht-rebalance.c @@ -1896,7 +1896,7 @@ dht_migrate_file (xlator_t *this, loc_t *loc, xlator_t *from, xlator_t *to, /* TODO: Sync the locks */ - ret = syncop_fsync (to, dst_fd, 0, NULL, NULL); + ret = syncop_fsync (to, dst_fd, 0, NULL, NULL, NULL, NULL); if (ret) { gf_log (this->name, GF_LOG_WARNING, "%s: failed to fsync on %s (%s)", -- cgit