commit | 317fc44ef2bfa87e96adecf035ed136ed9d78c8f | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Apr 25 13:27:34 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Apr 30 11:05:00 2014 +0200 |
tree | 42ffbf0e5ff22cf44100cded2e623f1509b7cf8e | |
parent | 0b50cc885381fc6794590dbbb40665e32f9292f8 [diff] |
block: Create bdrv_backing_flags() Instead of manipulation flags inline, move the derivation of the flags of a backing file into a new function next to the existing functions that derive flags for bs->file and for the block driver open function. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>