Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151505
b: refs/heads/master
c: caca7cb
h: refs/heads/master
i:
  151503: c2f91bc
v: v3
  • Loading branch information
Wu Fengguang authored and Linus Torvalds committed Jun 17, 2009
1 parent 105ad12 commit 574da82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: fc31d16add13773265cc53d59f2e7594cb3c0a14
refs/heads/master: caca7cb748571a5b39943a9b3e7081feef055e5e
2 changes: 1 addition & 1 deletion trunk/mm/readahead.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ ondemand_readahead(struct address_space *mapping,
pgoff_t start;

rcu_read_lock();
start = radix_tree_next_hole(&mapping->page_tree, offset,max+1);
start = radix_tree_next_hole(&mapping->page_tree, offset+1,max);
rcu_read_unlock();

if (!start || start - offset > max)
Expand Down

0 comments on commit 574da82

Please sign in to comment.