Displaying 2 results from an estimated 2 matches for "find_pag".
Did you mean:
find_png
2012 Oct 16
3
[PATCH] Change the check for PageReadahead into an else-if
...ahead(page)) {
+ page_cache_async_readahead(inode->i_mapping,
+ ra, NULL, page, index,
+ last_index + 1 - index);
}
if (!PageUptodate(page)) {
diff --git a/mm/filemap.c b/mm/filemap.c
index 3843445..d703224 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1113,8 +1113,7 @@ find_page:
page = find_get_page(mapping, index);
if (unlikely(page == NULL))
goto no_cached_page;
- }
- if (PageReadahead(page)) {
+ } else if (PageReadahead(page)) {
page_cache_async_readahead(mapping,
ra, filp, page,
index, last_index - index);
--
1.7.12.3
--
To unsubscri...
2007 Feb 08
1
undefined method `find' for Status:Class
...my development box, but as soon as i
attempt to run it using mongrel I get the following error:
NoMethodError (undefined method `find'' for Status:Class):
/app/models/page.rb:49:in `status''
/app/models/page.rb:57:in `published?''
/app/models/behavior.rb:92:in `find_page_by_url''
/lib/advanced_delegation.rb:10:in `send''
/lib/advanced_delegation.rb:10:in `find_by_url''
/app/models/page.rb:72:in `find_by_url''
/app/controllers/site_controller.rb:29:in `find_page''
/app/controllers/site_controller.rb:34:in...