diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-04-07 17:32:57 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-04-11 16:38:56 +0200 |
commit | 6188088f72fbfc419ba6cbc129479ee0b96c7436 (patch) | |
tree | 928d73bfd7b7bbd996c48069e3b0a50b6921a766 /block/preallocate.c | |
parent | 160a29e2f8b2d100246ab446813409f72d1e0767 (diff) |
block: remove has_variable_length from filters
Filters automatically get has_variable_length from their underlying
BlockDriverState. There is no need to mark them as variable-length
in the BlockDriver.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20230407153303.391121-3-pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/preallocate.c')
-rw-r--r-- | block/preallocate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/preallocate.c b/block/preallocate.c index 71c3601809..4d82125036 100644 --- a/block/preallocate.c +++ b/block/preallocate.c @@ -558,7 +558,6 @@ BlockDriver bdrv_preallocate_filter = { .bdrv_set_perm = preallocate_set_perm, .bdrv_child_perm = preallocate_child_perm, - .has_variable_length = true, .is_filter = true, }; |