summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/locks/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
index 2ff7655a170..ed07dd4b1a4 100644
--- a/xlators/features/locks/src/posix.c
+++ b/xlators/features/locks/src/posix.c
@@ -2257,7 +2257,7 @@ pl_lk (call_frame_t *frame, xlator_t *this,
*/
if (flock->l_len < 0) {
flock->l_start += flock->l_len;
- flock->l_len = abs (flock->l_len);
+ flock->l_len = labs (flock->l_len);
}
pl_inode = pl_inode_get (this, fd->inode);