]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
xen: cleanups to blkback and blktap
authorJan Beulich <jbeulich@novell.com>
Tue, 5 Apr 2011 11:38:55 +0000 (12:38 +0100)
committerJan Beulich <jbeulich@novell.com>
Tue, 5 Apr 2011 11:38:55 +0000 (12:38 +0100)
commitcb8962a7d022b61c59de65d9be6a0c73683d127b
tree4b7307b686eece27507b6b027ef70d9750d7395c
parenta406aa753b7d5195387e1f3ff3d1ca86ebb6f77c
xen: cleanups to blkback and blktap

Remove unused/unneccessary fields of their pending_req_t structures,
and reduce the width of those structures' nr_pages field.

Move loop-invariant grant table flags calculation out of loops (also
in scsiback).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/blkback/blkback.c
drivers/xen/blktap/blktap.c
drivers/xen/scsiback/scsiback.c