From: Shirley Ma Date: Fri, 29 Jan 2010 03:19:05 +0000 (+0000) Subject: virtio: Add ability to detach unused buffers from vrings X-Git-Tag: v2.6.34-rc1~233^2~471 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9bfbebf34eab707b065116cdc9699d25ba4252a;p=pandora-kernel.git virtio: Add ability to detach unused buffers from vrings There's currently no way for a virtio driver to ask for unused buffers, so it has to keep a list itself to reclaim them at shutdown. This is redundant, since virtio_ring stores that information. So add a new hook to do this. Signed-off-by: Shirley Ma Signed-off-by: Amit Shah Signed-off-by: Rusty Russell Signed-off-by: David S. Miller --- Reading git-diff-tree failed