afr self-heal: update file size of the returning stat buf with source file's size

This commit is contained in:
Anand V. Avati 2009-05-06 11:43:33 +05:30
parent 3f3dea5f23
commit f6862d75d1

View File

@ -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++) {