From: Shirley Ma Date: Mon, 18 Jan 2010 13:45:23 +0000 (+0530) Subject: virtio: Add ability to detach unused buffers from vrings X-Git-Tag: v2.6.34-rc1~294^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c021eac4148c16bf53baa0dd14e8ebee6f39dab5;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 --- Reading git-diff-tree failed