diff options
author | Kevin Wolf <kwolf@redhat.com> | 2015-04-27 13:46:22 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-12-18 14:34:42 +0100 |
commit | 260fecf13b0d30621dc88da03dc1b502b7358c6b (patch) | |
tree | e5aee1180ee39ce58eaa8aae84f59f09b8e2a243 /block/nbd.c | |
parent | 9e700c1ac6337e448e75e66a5753a9d2168d06c2 (diff) |
block: Exclude nested options only for children in append_open_options()
Some drivers have nested options (e.g. blkdebug rule arrays), which
don't belong to a child node and shouldn't be removed. Don't remove all
options with "." in their name, but check for the complete prefixes of
actually existing child nodes.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/nbd.c')
0 files changed, 0 insertions, 0 deletions