commit | 20cca275c6190ca0027cf7dd369ba985e44a6537 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Jun 04 14:33:27 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Jun 26 13:51:01 2014 +0200 |
tree | 9bcc23b3aea727f38f856be657ea79b3654c4cc9 | |
parent | 8ee79e707a005c9274df7ce34265bb7d008b8cef [diff] |
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>