From acaea514b6c31099e657224adb116a96070d51a2 Mon Sep 17 00:00:00 2001 From: ShyamsundarR Date: Tue, 8 May 2018 11:02:25 -0400 Subject: Revert "gfapi: return pre/post attributes from glfs_ftruncate" This reverts commit 248152767b0599986bbb6bb35fc27197f6be6964. This is being reverted as the API signatures should adapt to a statx like structure, and also all APIs that need to return pre/post attrs are not complete. As a result, instead of fixing up part of the APIs and then refixing the same in a later release, removing these set of fixes from the branch. Additionally fixed up cloudsync.c code that was using the new syncop signature. Updates: bz#1575386 Change-Id: Idb59d20666c0d7b0c83e7fdc31dd68b8c7db9550 --- xlators/features/cloudsync/src/cloudsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/cloudsync') diff --git a/xlators/features/cloudsync/src/cloudsync.c b/xlators/features/cloudsync/src/cloudsync.c index 48e27c372b6..ce3e41bff63 100644 --- a/xlators/features/cloudsync/src/cloudsync.c +++ b/xlators/features/cloudsync/src/cloudsync.c @@ -901,7 +901,7 @@ cs_download_task (void *arg) /*using dlfd as it is anonymous and have RDWR flag*/ ret = syncop_ftruncate (FIRST_CHILD (this), local->dlfd, 0, - NULL, NULL, NULL, NULL); + NULL, NULL); if (ret) { gf_msg (this->name, GF_LOG_ERROR, 0, -ret, "ftruncate failed"); -- cgit