From: Masami Hiramatsu Date: Thu, 9 Aug 2012 12:30:50 +0000 (+0900) Subject: virtio/console: Add a failback for unstealable pipe buffer X-Git-Tag: omap-for-v3.7-rc1/fixes-hwmod-clock-signed-v3~5^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec8fc870156b2b144f55b6a5a7d135018f04b30e;p=pandora-kernel.git virtio/console: Add a failback for unstealable pipe buffer Add a failback memcpy path for unstealable pipe buffer. If buf->ops->steal() fails, virtio-serial tries to copy the page contents to an allocated page, instead of just failing splice(). Signed-off-by: Masami Hiramatsu Acked-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed