diff options
author | Markus Armbruster <armbru@redhat.com> | 2012-06-13 10:11:48 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-06-15 14:03:43 +0200 |
commit | f8d6bba1c1f56217d9ee71b7aee5f94f46c8f148 (patch) | |
tree | 55cfcd017b9a4bd29ddd6c79383dbb7f15393c4b /fsdev | |
parent | f085800e245836fed27fddb3b624a29326637657 (diff) |
block: Replace bdrv_get_format() by bdrv_get_format_name()
So callers don't need to know anything about maximum name length.
Returning a pointer is safe, because the name string lives as long as
the block driver it names, and block drivers don't die.
Requested by Peter Maydell.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions