commit: Fix argument order for block_job_error_action()
commitc5507b4d55f1f2989d3c108be387f62ed092ddc0
authorKevin Wolf <kwolf@redhat.com>
Fri, 14 Feb 2020 20:08:08 +0000 (14 21:08 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 18 Feb 2020 09:53:56 +0000 (18 10:53 +0100)
tree65b9a68a80b59778b4092954092a8f10fb0b9438
parentd71e65ec1d08849a4e62a778ed4ea732621cea26
commit: Fix argument order for block_job_error_action()

The block_job_error_action() error call in the commit job gives the
on_err and is_read arguments in the wrong order. Fix this.

(Of course, hard-coded is_read = false is wrong, too, but that's a
separate problem for a separate patch.)

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200214200812.28180-4-kwolf@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/commit.c