summaryrefslogtreecommitdiffstats
path: root/tests/basic/gfapi/upcall-cache-invalidate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/gfapi/upcall-cache-invalidate.c')
-rw-r--r--tests/basic/gfapi/upcall-cache-invalidate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic/gfapi/upcall-cache-invalidate.c b/tests/basic/gfapi/upcall-cache-invalidate.c
index e91d05d4058..64811f3274a 100644
--- a/tests/basic/gfapi/upcall-cache-invalidate.c
+++ b/tests/basic/gfapi/upcall-cache-invalidate.c
@@ -42,7 +42,7 @@ main (int argc, char *argv[])
char *logfile = NULL;
char *volname = NULL;
- cbk.handle = NULL;
+ cbk.object = NULL;
if (argc != 3) {
fprintf (stderr, "Invalid argument\n");
@@ -147,7 +147,7 @@ main (int argc, char *argv[])
if (cnt > 2) {
ret = glfs_h_poll_upcall(fs_tmp, &cbk);
LOG_ERR ("glfs_h_poll_upcall", ret);
- if (cbk.handle) {
+ if (cbk.object) {
fprintf (stderr, " upcall event type - %d,"
" flags - %d, expire_time_attr - %d\n" ,
cbk.reason, cbk.flags, cbk.expire_time_attr);