From c49e4e573be86acd36c747511ea5dc76be122206 Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Mon, 2 Sep 2013 16:40:58 +0800 Subject: [PATCH] vhost: switch to use vhost_add_used_n() Let vhost_add_used() to use vhost_add_used_n() to reduce the code duplication. To avoid the overhead brought by __copy_to_user(). We will use put_user() when one used need to be added. Signed-off-by: Jason Wang Signed-off-by: David S. Miller --- Reading git-format-patch failed