summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-rw-r--r--xlators/storage/posix/src/posix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 7bdd69d3a0d..0b5a5097afb 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -1181,7 +1181,8 @@ posix_mknod (call_frame_t *frame, xlator_t *this,
goto real_op;
}
op_ret = posix_create_link_if_gfid_exists (this, uuid_req,
- real_path);
+ real_path,
+ loc->inode->table);
if (!op_ret) {
linked = _gf_true;
goto post_op;