]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
block: Remove a special case for protocols
authorKevin Wolf <kwolf@redhat.com>
Wed, 4 Jun 2014 12:33:27 +0000 (14:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 26 Jun 2014 11:51:01 +0000 (13:51 +0200)
commit20cca275c6190ca0027cf7dd369ba985e44a6537
tree9bcc23b3aea727f38f856be657ea79b3654c4cc9
parent8ee79e707a005c9274df7ce34265bb7d008b8cef
block: Remove a special case for protocols

The only semantic change is that bs->open_flags gets BDRV_O_PROTOCOL set
now. This isn't useful, but it doesn't hurt either. The code that was
previously skipped by 'goto done' is automatically disabled because
protocol drivers don't support backing files (and if they did, this
would probably be a fix) and can't have snapshot_flags set.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block.c