diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-06-07 10:57:53 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-06-09 09:15:16 -0700 |
commit | 2533d2b56be0f61b498a62478714036310704a25 (patch) | |
tree | 3eda2a3202a8477040d112a2868806788694702f /xlators/cluster/afr/src/afr-common.c | |
parent | c693d3b1414dba7066b44fa69c26c300f4906746 (diff) |
cluster/afr: Handle self-heal of files with holesv3.2.7qa2
Change-Id: I7a560b3633151c9c1e5a787d1c808d8a396ee754
BUG: 765424
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.com/3540
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-common.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c index f0fd6ffd005..d9c42cbcdbd 100644 --- a/xlators/cluster/afr/src/afr-common.c +++ b/xlators/cluster/afr/src/afr-common.c @@ -515,6 +515,8 @@ afr_local_sh_cleanup (afr_local_t *local, xlator_t *this) if (sh->fresh_parent_dirs) GF_FREE (sh->fresh_parent_dirs); + if (sh->write_needed) + GF_FREE (sh->write_needed); loc_wipe (&sh->parent_loc); loc_wipe (&sh->lookup_loc); |