summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-metadata.c
diff options
context:
space:
mode:
authorHraban Luyat <hraban@0brg.net>2009-12-21 01:29:46 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-02-07 03:43:24 -0800
commitfd4523e667f19cf5c4f3849679aacf41f860a766 (patch)
treeba25ca9fbdca0932c8fe5af180e7b6581de1b7ce /xlators/cluster/afr/src/afr-self-heal-metadata.c
parent137f94ed123b1c7c7ada541aaa599679e19888f6 (diff)
Fix memory access in afr's self-heal code (replace pointer casts by memcpy).
The previous patch I submitted for this file (afr's self-heal code) introduced a terrible error. I overlooked the error checking in the original code and misplaced the memcpy (too early). So, please disregard the last one, this one is better :) hopefully. Apologies. Signed-off-by: Hraban Luyat <hraban@0brg.net> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 493 (tcp + dht + armv5tel: “brick: disk layout has invalid count 29696”) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=493
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-metadata.c')
0 files changed, 0 insertions, 0 deletions