From 7dcc877872cd26970440e7fcf4850d24f6520f79 Mon Sep 17 00:00:00 2001 From: Albert Chu Date: Mon, 28 Jan 2019 16:05:24 -0800 Subject: [PATCH] modules/kvs: Support namespace in symlink --- src/modules/kvs/kvstxn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/kvs/kvstxn.c b/src/modules/kvs/kvstxn.c index 9cf320f4ef03..0b3606848407 100644 --- a/src/modules/kvs/kvstxn.c +++ b/src/modules/kvs/kvstxn.c @@ -649,7 +649,7 @@ static int kvstxn_link_dirent (kvstxn_t *kt, int current_epoch, assert (target); /* can't cross into a new namespace */ - if (ns && strcmp (ns, kt->ktm->namespace)) { + if (ns && strcmp (ns, kt->ktm->ns_name)) { saved_errno = EINVAL; goto done; }