]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
blktap: a small fix and assorted cleanup
authorJan Beulich <jbeulich@novell.com>
Thu, 10 Feb 2011 09:06:04 +0000 (09:06 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 10 Feb 2011 09:06:04 +0000 (09:06 +0000)
commit27b2ef53cdd6273c9931ac81ebb1b5d6a0cdbdfd
tree34ae87c936f9e4933f0950950d4a2a9aa54c4a02
parent2feff08981b5aa5bfee80812fec5317718b4553a
blktap: a small fix and assorted cleanup

The main cleanup item is to convert the index map from a plain
"unsigned long" holding two merged together integers into a proper
structure (at once halving its size on 64-bit).

Additionally, add a previously missing range check of res.id in
blktap_read_ufe_ring() and remove blkif_reqs (which could have been
set via module load option to a value other than the default, which
code elsewhere isn't capable of handling).

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