Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189565
b: refs/heads/master
c: 70655c0
h: refs/heads/master
i:
  189563: ef42fdc
v: v3
  • Loading branch information
Wu Fengguang authored and Linus Torvalds committed Apr 7, 2010
1 parent 9e202d2 commit 9d0516d
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: 12765517d9dbb477a2432375938f1eb5bdbcb532
refs/heads/master: 70655c06bd3f25111312d63985888112aed15ac5
2 changes: 1 addition & 1 deletion trunk/mm/readahead.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ void page_cache_sync_readahead(struct address_space *mapping,
return;

/* be dumb */
if (filp->f_mode & FMODE_RANDOM) {
if (filp && (filp->f_mode & FMODE_RANDOM)) {
force_page_cache_readahead(mapping, filp, offset, req_size);
return;
}
Expand Down

0 comments on commit 9d0516d

Please sign in to comment.