From f6862d75d1ca50b12372d5f9c3e651d6f74c5900 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Wed, 6 May 2009 11:43:33 +0530 Subject: afr self-heal: update file size of the returning stat buf with source file's size --- xlators/cluster/afr/src/afr-self-heal-data.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/cluster/afr/src/afr-self-heal-data.c') diff --git a/xlators/cluster/afr/src/afr-self-heal-data.c b/xlators/cluster/afr/src/afr-self-heal-data.c index 6e0ff33b8..2b22727fa 100644 --- a/xlators/cluster/afr/src/afr-self-heal-data.c +++ b/xlators/cluster/afr/src/afr-self-heal-data.c @@ -829,6 +829,7 @@ afr_sh_data_fix (call_frame_t *frame, xlator_t *this) } sh->source = source; + local->cont.lookup.buf.st_size = sh->buf[source].st_size; /* detect changes not visible through pending flags -- JIC */ for (i = 0; i < priv->child_count; i++) { -- cgit