Commit 7e096fb1 authored by Pavel Emelyanov's avatar Pavel Emelyanov

xfer: Don't print warning abount non-flushed data in case of other error

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 391e4bd7
...@@ -216,7 +216,7 @@ static int page_server_serve(int sk) ...@@ -216,7 +216,7 @@ static int page_server_serve(int sk)
break; break;
} }
if (!flushed) { if (!ret && !flushed) {
pr_err("The data were not flushed\n"); pr_err("The data were not flushed\n");
ret = -1; ret = -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment