block: Block all intermediate nodes in commit_active_start()
commitf3ede4b05d1407d48314f0edada5e402865e641e
authorAlberto Garcia <berto@igalia.com>
Fri, 28 Oct 2016 07:08:09 +0000 (28 10:08 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Oct 2016 15:52:38 +0000 (31 16:52 +0100)
tree91ef72785aa34c68df371e5b85b30083118b2fe8
parent3e4c5122cbb881cd271314ef0782c4b6c57ab03d
block: Block all intermediate nodes in commit_active_start()

When block-commit is launched without the top parameter, it uses
internally a mirror block job. In that case all intermediate nodes
between the active and base nodes must be blocked as well.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/mirror.c