summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-12-09 23:17:16 +0200
committerAmar Tumballi <amarts@gmail.com>2020-01-14 17:12:57 +0000
commitd5fef2a50cf4e3458e800d59021a97c0b5fc39db (patch)
tree5d2c6d4588acf2c70067184fab1514bde686a05e /xlators/protocol/client/src
parent9969d1dc2a3e815b161ce8a3dc5d08f84cfe011f (diff)
dht-hashfn.c: remove a strlen()
We already have the length of the name, or when we munge it, we can return the length of it instead of strlen() again. Also, reduce a bit the code under the lock. Change-Id: I0141b0725ed1a4134d8d9f81ed1187b551b038b5 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/protocol/client/src')
0 files changed, 0 insertions, 0 deletions