afr self-heal: update file size of the returning stat buf with source file's size
This commit is contained in:
parent
3f3dea5f23
commit
f6862d75d1
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user