summaryrefslogtreecommitdiffstats
path: root/tests/basic/gfapi
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2018-02-01 11:20:37 +0800
committerAmar Tumballi <amarts@redhat.com>2018-02-12 21:34:46 +0000
commit384562b294e9a7847403961e878a4daa0fff33eb (patch)
tree903cd2cc4552ce1fe17c0d6a707718107e749d43 /tests/basic/gfapi
parent248152767b0599986bbb6bb35fc27197f6be6964 (diff)
gfapi: return pre/post attributes at callback for glfs api
Updates: #389 Change-Id: Ic71632722effe4b8855d5de3e65688efd9afe1e3 Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Diffstat (limited to 'tests/basic/gfapi')
-rw-r--r--tests/basic/gfapi/gfapi-async-calls-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/basic/gfapi/gfapi-async-calls-test.c b/tests/basic/gfapi/gfapi-async-calls-test.c
index 277067bee2c..58046861668 100644
--- a/tests/basic/gfapi/gfapi-async-calls-test.c
+++ b/tests/basic/gfapi/gfapi-async-calls-test.c
@@ -76,7 +76,8 @@ out:
}
void
-write_async_cbk (glfs_fd_t *fd, ssize_t ret, void *cookie)
+write_async_cbk (glfs_fd_t *fd, ssize_t ret, struct stat *prestat,
+ struct stat *poststat, void *cookie)
{
if (ret < 0) {