From b09db37b4fb17816631b3e837ff08a98376e0c0a Mon Sep 17 00:00:00 2001 From: ShyamsundarR Date: Tue, 8 May 2018 10:59:46 -0400 Subject: Revert "gfapi: return pre/post attributes at callback for glfs api" This reverts commit 384562b294e9a7847403961e878a4daa0fff33eb. 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. Updates: bz#1575386 Change-Id: Ia071797bec1e2ac085818e3909771f9ddeac6676 --- tests/basic/ec/ec-fast-fgetxattr.c | 3 +-- tests/basic/gfapi/gfapi-async-calls-test.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/basic/ec/ec-fast-fgetxattr.c b/tests/basic/ec/ec-fast-fgetxattr.c index ddf5ae90290..f117f5350ab 100644 --- a/tests/basic/ec/ec-fast-fgetxattr.c +++ b/tests/basic/ec/ec-fast-fgetxattr.c @@ -30,8 +30,7 @@ fill_iov (struct iovec *iov, char fillchar, int count) } void -write_async_cbk (glfs_fd_t *fd, ssize_t ret, struct stat *prestat, - struct stat *poststat, void *cookie) +write_async_cbk (glfs_fd_t *fd, ssize_t ret, void *cookie) { if (ret < 0) { diff --git a/tests/basic/gfapi/gfapi-async-calls-test.c b/tests/basic/gfapi/gfapi-async-calls-test.c index 58046861668..277067bee2c 100644 --- a/tests/basic/gfapi/gfapi-async-calls-test.c +++ b/tests/basic/gfapi/gfapi-async-calls-test.c @@ -76,8 +76,7 @@ out: } void -write_async_cbk (glfs_fd_t *fd, ssize_t ret, struct stat *prestat, - struct stat *poststat, void *cookie) +write_async_cbk (glfs_fd_t *fd, ssize_t ret, void *cookie) { if (ret < 0) { -- cgit