diff options
author | ShyamsundarR <srangana@redhat.com> | 2018-09-13 17:20:02 -0400 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-09-17 14:26:06 +0000 |
commit | 5cd9c22a4fd041a27275a465d0117af39cf4e616 (patch) | |
tree | dd288db2310aa41bfca755fa2c00aa8e055b7637 /tests/basic | |
parent | 822dd79db99e0aa221ed90fdf8bb91fbcdfcd66f (diff) |
gfapi: revert "gfapi: return pre/post attributes at callback for glfs api"
This reverts commit 384562b294e9a7847403961e878a4daa0fff33eb.
The revert is done manually owing to the clang format changes,
and the 4.1 patch that reverts this fix is used as the source
for the revert.
The 4.1 patch has the commit ID: 98376e0c0a
Change-Id: Ib2cbce9940f6a2a2755eb47bf332832147835e4d
Updates: bz#1628620
Signed-off-by: ShyamsundarR <srangana@redhat.com>
Diffstat (limited to 'tests/basic')
-rw-r--r-- | tests/basic/ec/ec-fast-fgetxattr.c | 3 | ||||
-rw-r--r-- | tests/basic/gfapi/gfapi-async-calls-test.c | 3 |
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 bf982151861..7fb1aad12c7 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) { fprintf(stderr, "glfs_write failed"); diff --git a/tests/basic/gfapi/gfapi-async-calls-test.c b/tests/basic/gfapi/gfapi-async-calls-test.c index 5a291c3c76b..2ebe1f8a742 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) { LOG_ERR("glfs_write failed"); |