Commit df81a2ca authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] paride cleanup and fixes (8/25)

Equivalent transformation:
	instead of having do_pd_request1() calling do_pd_io() via
	pi_do_claimed() and do_pd_io() calling do_pd_io_start() via
	ps_set_intr(), do it the other way round.
parent d01f635e
......@@ -748,9 +748,8 @@ static void do_pd_request1(request_queue_t * q)
if (!pd_req)
return;
pd_current = pd_req->rq_disk->private_data;
pi_do_claimed(pd_current->pi, do_pd_io);
ps_continuation = do_pd_io;
ps_set_intr();
}
static void do_pd_request(request_queue_t * q)
......@@ -792,8 +791,8 @@ static inline void next_request(int success)
static void do_pd_io(void)
{
ps_continuation = do_pd_io_start;
ps_set_intr();
pd_current = pd_req->rq_disk->private_data;
pi_do_claimed(pd_current->pi, do_pd_io_start);
}
static void do_pd_io_start(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment