You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-block
Manual fixup for merge with Jens' "Suspend support for libata", commit
ID 9b84754866.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -3471,7 +3471,7 @@ static inline boolean DAC960_ProcessCompletedRequest(DAC960_Command_T *Command,
|
||||
|
||||
if (!end_that_request_first(Request, UpToDate, Command->BlockCount)) {
|
||||
|
||||
end_that_request_last(Request);
|
||||
end_that_request_last(Request, UpToDate);
|
||||
|
||||
if (Command->Completion) {
|
||||
complete(Command->Completion);
|
||||
|
||||
@@ -2310,7 +2310,7 @@ static inline void complete_command( ctlr_info_t *h, CommandList_struct *cmd,
|
||||
printk("Done with %p\n", cmd->rq);
|
||||
#endif /* CCISS_DEBUG */
|
||||
|
||||
end_that_request_last(cmd->rq);
|
||||
end_that_request_last(cmd->rq, status ? 1 : -EIO);
|
||||
cmd_free(h,cmd,1);
|
||||
}
|
||||
|
||||
|
||||
@@ -1036,7 +1036,7 @@ static inline void complete_command(cmdlist_t *cmd, int timeout)
|
||||
complete_buffers(cmd->rq->bio, ok);
|
||||
|
||||
DBGPX(printk("Done with %p\n", cmd->rq););
|
||||
end_that_request_last(cmd->rq);
|
||||
end_that_request_last(cmd->rq, ok ? 1 : -EIO);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -2301,7 +2301,7 @@ static void floppy_end_request(struct request *req, int uptodate)
|
||||
add_disk_randomness(req->rq_disk);
|
||||
floppy_off((long)req->rq_disk->private_data);
|
||||
blkdev_dequeue_request(req);
|
||||
end_that_request_last(req);
|
||||
end_that_request_last(req, uptodate);
|
||||
|
||||
/* We're done with the request */
|
||||
current_req = NULL;
|
||||
|
||||
+1
-1
@@ -140,7 +140,7 @@ static void nbd_end_request(struct request *req)
|
||||
|
||||
spin_lock_irqsave(q->queue_lock, flags);
|
||||
if (!end_that_request_first(req, uptodate, req->nr_sectors)) {
|
||||
end_that_request_last(req);
|
||||
end_that_request_last(req, uptodate);
|
||||
}
|
||||
spin_unlock_irqrestore(q->queue_lock, flags);
|
||||
}
|
||||
|
||||
+1
-1
@@ -770,7 +770,7 @@ static inline void carm_end_request_queued(struct carm_host *host,
|
||||
rc = end_that_request_first(req, uptodate, req->hard_nr_sectors);
|
||||
assert(rc == 0);
|
||||
|
||||
end_that_request_last(req);
|
||||
end_that_request_last(req, uptodate);
|
||||
|
||||
rc = carm_put_request(host, crq);
|
||||
assert(rc == 0);
|
||||
|
||||
+1
-1
@@ -951,7 +951,7 @@ static void ub_rw_cmd_done(struct ub_dev *sc, struct ub_scsi_cmd *cmd)
|
||||
static void ub_end_rq(struct request *rq, int uptodate)
|
||||
{
|
||||
end_that_request_first(rq, uptodate, rq->hard_nr_sectors);
|
||||
end_that_request_last(rq);
|
||||
end_that_request_last(rq, uptodate);
|
||||
}
|
||||
|
||||
static int ub_rw_cmd_retry(struct ub_dev *sc, struct ub_lun *lun,
|
||||
|
||||
@@ -305,7 +305,7 @@ static void viodasd_end_request(struct request *req, int uptodate,
|
||||
if (end_that_request_first(req, uptodate, num_sectors))
|
||||
return;
|
||||
add_disk_randomness(req->rq_disk);
|
||||
end_that_request_last(req);
|
||||
end_that_request_last(req, uptodate);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user