commit | 0b50cc885381fc6794590dbbb40665e32f9292f8 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Apr 11 21:29:52 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Apr 30 11:05:00 2014 +0200 |
tree | 4a5308890ef5cc2f8577fa583d080fca320e4eb8 | |
parent | cffb12051a26e5494ed009c99db7858b2aab7099 [diff] |
block: Create bdrv_inherited_flags() Instead of having bdrv_open_flags() as a function that creates flags for several unrelated places and then adding open-coded flags on top, create a new function that derives the flags for bs->file from the flags for bs. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>