summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorShyamsundarR <srangana@redhat.com>2018-05-08 10:59:46 -0400
committerShyamsundarR <srangana@redhat.com>2018-05-08 11:27:42 -0400
commitb09db37b4fb17816631b3e837ff08a98376e0c0a (patch)
treea4a767bddfdb962fac10552c1906aa85acdb7db6 /tests
parent548902d1a74b6a5b8139411ddb34dce009158e74 (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/ec/ec-fast-fgetxattr.c3
-rw-r--r--tests/basic/gfapi/gfapi-async-calls-test.c3
2 files changed, 2 insertions, 4 deletions
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) {