summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2018-02-01 10:13:07 +0800
committerAmar Tumballi <amarts@redhat.com>2018-02-12 21:34:46 +0000
commit248152767b0599986bbb6bb35fc27197f6be6964 (patch)
treef18550ce89d0786cc21dca474d187d45a49017fb /tests
parent09943beb499617212f2985ca8ea9ecd1ed1b470e (diff)
gfapi: return pre/post attributes from glfs_ftruncate
Updates: #389 Change-Id: I8faea0828921fb17f05f7321c3cb01747373f21e Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/gfapi/mandatory-lock-optimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/gfapi/mandatory-lock-optimal.c b/tests/basic/gfapi/mandatory-lock-optimal.c
index 6c62f437a0f..9fb5ad657b0 100644
--- a/tests/basic/gfapi/mandatory-lock-optimal.c
+++ b/tests/basic/gfapi/mandatory-lock-optimal.c
@@ -366,7 +366,7 @@ void run_test_7 (int i) {
if (!fd2)
LOG_ERR ("glfs_open", errno);
- ret = glfs_ftruncate (fd2, 4);
+ ret = glfs_ftruncate (fd2, 4, NULL, NULL);
if (ret == 0 || errno != EAGAIN)
LOG_ERR ("glfs_ftruncate", errno);