diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-09-12 18:03:18 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-09-29 14:13:39 +0200 |
commit | 818584a43ab0ef52c131865128ef110f867726cd (patch) | |
tree | 6358c1eec8d02c561324484b11fd8be100dcc606 /net | |
parent | b85114f8cfbede8b153db68875973ef0790bf296 (diff) |
block: Move 'discard' option to bdrv_open_common()
This enables its use for nested child nodes. The compatibility
between the 'discard' and 'detect-zeroes' setting is checked in
bdrv_open_common() now as the former setting isn't available before
calling bdrv_open() any more.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions