Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3414
b: refs/heads/master
c: dfa1a55
h: refs/heads/master
v: v3
  • Loading branch information
Nikita Danilov authored and Linus Torvalds committed Jun 25, 2005
1 parent 2fbe94e commit a184062
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 672c3fd9069e5a138f9d4afc9aeb5aa34aacce32
refs/heads/master: dfa1a55335a0e822b36607d25c980c4e2a8e5e87
6 changes: 3 additions & 3 deletions trunk/drivers/block/ll_rw_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1344,8 +1344,8 @@ static int ll_front_merge_fn(request_queue_t *q, struct request *req,
static int ll_merge_requests_fn(request_queue_t *q, struct request *req,
struct request *next)
{
int total_phys_segments = req->nr_phys_segments +next->nr_phys_segments;
int total_hw_segments = req->nr_hw_segments + next->nr_hw_segments;
int total_phys_segments;
int total_hw_segments;

/*
* First check if the either of the requests are re-queued
Expand All @@ -1355,7 +1355,7 @@ static int ll_merge_requests_fn(request_queue_t *q, struct request *req,
return 0;

/*
* Will it become to large?
* Will it become too large?
*/
if ((req->nr_sectors + next->nr_sectors) > q->max_sectors)
return 0;
Expand Down

0 comments on commit a184062

Please sign in to comment.