Do not attempt to allocate sn_tab when there are no snapshots
authormalc <av1474@comtv.ru>
Thu, 21 May 2009 01:40:23 +0000 (05:40 +0400)
committermalc <av1474@comtv.ru>
Thu, 21 May 2009 01:40:53 +0000 (05:40 +0400)
commiteb0b64f7aa7f6f325aac878265ee9e6c2fc1bf51
tree0b4ecb18462560a15f405d79546211900f8aba6f
parent0a656f5f21553b9b69392d89e28d18361a0e3405
Do not attempt to allocate sn_tab when there are no snapshots

This was caught by a7d27b536ffc0773028a90f14580552c0c3ddb2a which
aborted on this attempt, thanks to Alex Ivanov for report.

Signed-off-by: malc <av1474@comtv.ru>
block/qcow2.c