diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2018-02-01 10:13:07 +0800 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-02-12 21:34:46 +0000 |
commit | 248152767b0599986bbb6bb35fc27197f6be6964 (patch) | |
tree | f18550ce89d0786cc21dca474d187d45a49017fb /tests/basic/gfapi/mandatory-lock-optimal.c | |
parent | 09943beb499617212f2985ca8ea9ecd1ed1b470e (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/basic/gfapi/mandatory-lock-optimal.c')
-rw-r--r-- | tests/basic/gfapi/mandatory-lock-optimal.c | 2 |
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); |