Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146996
b: refs/heads/master
c: e138b4e
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jens Axboe committed Apr 28, 2009
1 parent 055ffad commit 55abaad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 467ca759fc83fc35cb7d15aec0d74c62cffc4481
refs/heads/master: e138b4e08ef65771000fbe6d93d67e3960ff862b
7 changes: 0 additions & 7 deletions trunk/drivers/block/swim.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,10 +535,6 @@ static void redo_fd_request(struct request_queue *q)
__blk_end_request_cur(req, -EIO);
continue;
}
if (req->current_nr_sectors == 0) {
__blk_end_request_cur(req, 0);
continue;
}
if (!fs->disk_in) {
__blk_end_request_cur(req, -EIO);
continue;
Expand All @@ -561,9 +557,6 @@ static void redo_fd_request(struct request_queue *q)
__blk_end_request_cur(req, -EIO);
continue;
}
req->nr_sectors -= req->current_nr_sectors;
req->sector += req->current_nr_sectors;
req->buffer += req->current_nr_sectors * 512;
__blk_end_request_cur(req, 0);
break;
}
Expand Down

0 comments on commit 55abaad

Please sign in to comment.