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/mount/fuse/src/fuse-bridge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/mount/fuse') diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 2ffaaf2528b..076fbfddaf8 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -4604,7 +4604,8 @@ fuse_migrate_fd (xlator_t *this, fd_t *basefd, xlator_t *old_subvol, ret = syncop_fsyncdir (old_subvol, oldfd, 0, NULL, NULL); else - ret = syncop_fsync (old_subvol, oldfd, 0, NULL, NULL); + ret = syncop_fsync (old_subvol, oldfd, 0, NULL, NULL, + NULL, NULL); if (ret < 0) { gf_log ("glusterfs-fuse", GF_LOG_WARNING, -- cgit