blockdev: Do not create BDS for empty drive
commit5ec18f8c83583b7e22ed4dd360cd937da801ca40
authorMax Reitz <mreitz@redhat.com>
Mon, 19 Oct 2015 15:53:30 +0000 (19 17:53 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Oct 2015 16:18:23 +0000 (23 18:18 +0200)
tree12d47bf44737e6d885140025b9d7fe617d0ad49f
parent5433c24f0f9306c82ad9bcc2b2b586e5f0ed8fa5
blockdev: Do not create BDS for empty drive

Do not use "rudimentary" BDSs for empty drives any longer (for
freshly created drives).

After a follow-up patch, empty drives will generally use a NULL BDS, not
only the freshly created drives.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c