Commit 042e7783 authored by Alexander Viro's avatar Alexander Viro Committed by James Bottomley

[PATCH] ftl.c fix

	* killed remaining CURRENT
parent 7473f096
...@@ -1141,7 +1141,7 @@ static void do_ftl_request(struct request_queue *q) ...@@ -1141,7 +1141,7 @@ static void do_ftl_request(struct request_queue *q)
part = req->rq_disk->private_data; part = req->rq_disk->private_data;
if (part) { if (part) {
ret = 0; ret = 0;
switch (rq_data_dir(CURRENT)) { switch (rq_data_dir(req)) {
case READ: case READ:
ret = ftl_read(part, req->buffer, req->sector, ret = ftl_read(part, req->buffer, req->sector,
req->current_nr_sectors); req->current_nr_sectors);
......
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