Quick fix for bad_return_value
This commit is contained in:
parent
7ee8e02b38
commit
903e9395c8
1 changed files with 3 additions and 2 deletions
|
@ -439,8 +439,9 @@ do_append_midtail2([FLU|RestFLUs]=FLUs, Prefix, File, Offset, Chunk,
|
|||
%% We know what the chunk ought to be, so jump to the
|
||||
%% middle of read-repair.
|
||||
Resume = {append, Offset, iolist_size(Chunk), File},
|
||||
do_repair_chunk(FLUs, Resume, Chunk, [], File, Offset,
|
||||
iolist_size(Chunk), Depth, STime, S);
|
||||
{Reply, S1} = do_repair_chunk(FLUs, Resume, Chunk, [], File, Offset,
|
||||
iolist_size(Chunk), Depth, STime, S),
|
||||
{reply, Reply, S1};
|
||||
{error, trimmed} = Err ->
|
||||
%% TODO: nothing can be done
|
||||
{reply, Err, S};
|
||||
|
|
Loading…
Reference in a new issue