diff options
author | Kevin Wolf <kwolf@redhat.com> | 2020-09-24 17:27:09 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-10-02 15:46:40 +0200 |
commit | 331170e0732617b931959f7c617af3823f8fe95e (patch) | |
tree | beb8d1faa33302c9a5c1ba344e9dc898575e8b34 /module-common.c | |
parent | 37a4f70cea72a38fe981cbff517c222cefa46f21 (diff) |
block/export: Create BlockBackend in blk_exp_add()
Every export type will need a BlockBackend, so creating it centrally in
blk_exp_add() instead of the .create driver callback avoids duplication.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200924152717.287415-24-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions