summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/dht/src')
-rw-r--r--xlators/cluster/dht/src/dht-linkfile.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/xlators/cluster/dht/src/dht-linkfile.c b/xlators/cluster/dht/src/dht-linkfile.c
index 57cc202da..dbc9d0b3c 100644
--- a/xlators/cluster/dht/src/dht-linkfile.c
+++ b/xlators/cluster/dht/src/dht-linkfile.c
@@ -148,15 +148,6 @@ dht_linkfile_create (call_frame_t *frame, fop_mknod_cbk_t linkfile_cbk,
goto out;
}
- ret = dict_set_uint32 (dict, GLUSTERFS_CREATE_MODE_KEY,
- DHT_LINKFILE_MODE);
- if (ret < 0) {
- gf_log (frame->this->name, GF_LOG_WARNING,
- "%s: failed to set mode in xdata",
- loc->path);
- goto out;
- }
-
local->link_subvol = fromvol;
/* Always create as root:root. dht_linkfile_attr_heal fixes the
* ownsership */