OSDN Git Service

parallels: split check for parallels format in parallels_open
authorDenis V. Lunev <den@openvz.org>
Mon, 28 Jul 2014 16:23:54 +0000 (20:23 +0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Aug 2014 17:03:13 +0000 (18:03 +0100)
commit418a7adb77abbbc09a17d5626cbaa5e9e54be709
treed48a5d7e6a1d504dc80563f4cce003bdbd1d6d75
parentf08e2f8465197c65c61b1ab1e0df3cdef4d8567c
parallels: split check for parallels format in parallels_open

and rework error path a bit. There is no difference at the moment, but
the code will be definitely shorter when additional processing will
be required for WithouFreSpacExt

Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Jeff Cody <jcody@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/parallels.c