]> git.proxmox.com Git - mirror_qemu.git/commit
block: Distinguish paths in *_format_default_perms
authorMax Reitz <mreitz@redhat.com>
Wed, 13 May 2020 11:05:25 +0000 (13:05 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 May 2020 17:05:25 +0000 (19:05 +0200)
commit33f2663bd58696ab836731830f9fb6a878a5b944
tree98fe6510f7970c643955cabdcc703cc9e7f90e26
parent4348355032c027d0029994fc62da395e68afb60d
block: Distinguish paths in *_format_default_perms

bdrv_format_default_perms() has one code path for backing files, and one
for storage files.  We want to pull them out into their own functions,
so make sure they are completely distinct before so the next patches
will be a bit cleaner.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200513110544.176672-16-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c