summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorTamar Shacked <tshacked@redhat.com>2020-06-04 11:35:30 +0300
committerAmar Tumballi <amar@kadalu.io>2020-06-09 01:31:20 +0000
commitdbd74e0b8d710956f5224dfd420b7e9ff4bb165b (patch)
treeca0f4e5ef037bf1052a5a5e6c2bb03fa321641f4 /libglusterfs/src
parentaf89d9e623cd99d3cec55cd650304d7ff9fae7e5 (diff)
When creating new file don't set xatrr "trusted.glusterfs.dht"
The curr call to delete the xattr from the dict fails to find the key: dict_del_sizen(xdata, xattr_name); This is beacuse keysize is calculated as sizeof of xattr_name which is a pointer, this lead to wrong size -> hash. Fix: call to dict_deln which get keysize using strlen. fixes: #1282 Change-Id: I23ce1f8f7928e9daa43bc3a9fa8d3611e81bbc36 Signed-off-by: Tamar Shacked <tshacked@redhat.com>
Diffstat (limited to 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions