vvfat: Fix default volume label
authorKevin Wolf <kwolf@redhat.com>
Wed, 27 Apr 2016 12:18:16 +0000 (14:18 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 29 Apr 2016 09:14:13 +0000 (11:14 +0200)
commitd208c50d9dbf98c0eca337723cd6497653ceb743
tree39230e02d9dc18693b5aff79e635b0924ef48ae6
parentebb72c9f066e5f85259e1541a6d3fb5bfd6e73ff
vvfat: Fix default volume label

Commit d5941dd documented that it leaves the default volume name as it
was ("QEMU VVFAT"), but it doesn't actually implement this. You get an
empty name (eleven space characters) instead.

This fixes the implementation to apply the advertised default.

Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
block/vvfat.c