diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-12-01 06:11:06 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-01 06:30:07 -0800 |
commit | 85ed82893aca7dd6307100660b9bba0233d52240 (patch) | |
tree | bf54bd1c7ad5d713f74c212cc1dbaa30d752dbc4 /argp-standalone/argp-ba.c | |
parent | cc57da87504621655d4acb7ec65e27f45b2b72d1 (diff) |
cluster/afr: Don't do memcpy of afr_local_t in afr_local_copy.
For the background self-heal frame's local_t, copy only
required members --- not a wholesale memcpy. The memcpy
lead to pointers being copied and then double free'd.
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 320 (Improve self-heal performance)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=320
Diffstat (limited to 'argp-standalone/argp-ba.c')
0 files changed, 0 insertions, 0 deletions