summaryrefslogtreecommitdiffstats
path: root/xlators/playground
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-08-21 23:35:58 +0300
committerPranith Kumar Karampuri <pkarampu@redhat.com>2018-09-04 04:02:56 +0000
commit6d5d3d1d095a7df2b49b56246021d302a4b7d695 (patch)
tree9bf8e010d541a1a6324d1fa5aa2aa8c0b11fe7bf /xlators/playground
parent13deb311b2a48170489bb4f7cfd7def982281fd4 (diff)
xlators/cluster/afr/src/afr-inode-read.c: move to GF_MALLOC() instead of GF_CALLOC() when
It doesn't make sense to calloc (allocate and clear) memory when the code right away fills that memory with data. It may be optimized by the compiler, or have a microscopic performance improvement. Please review carefully, especially for string allocation, with the terminating NULL string. Only compile-tested! Change-Id: Ief156de98769fea852553044a398a309e831754b updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/playground')
0 files changed, 0 insertions, 0 deletions