qcow2: Make sure to return an error when L2 table loading fails
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 14 Aug 2008 18:11:00 +0000 (18:11 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 14 Aug 2008 18:11:00 +0000 (18:11 +0000)
commitcfbab381d2dec5ed749d80c8370ba90662fcc408
treebcdd8899c44839b0453b9600c17972c6567348f7
parent5b35697b6599e05a7a0962834a273a180e3f71be
qcow2: Make sure to return an error when L2 table loading fails

This was suggested by Kevin Wolf since this is, in fact, an error condition.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5007 c046a42c-6fe2-441c-8c8c-71466251a162
block-qcow2.c