mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[PATCH] vmscan: pageout(): remove unneeded test
) We only call pageout() for dirty pages, so this test is redundant. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
79befd0c08
commit
323aca6c0b
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ static pageout_t pageout(struct page *page, struct address_space *mapping)
|
|||
* Some data journaling orphaned pages can have
|
||||
* page->mapping == NULL while being dirty with clean buffers.
|
||||
*/
|
||||
if (PageDirty(page) && PagePrivate(page)) {
|
||||
if (PagePrivate(page)) {
|
||||
if (try_to_free_buffers(page)) {
|
||||
ClearPageDirty(page);
|
||||
printk("%s: orphaned page\n", __FUNCTION__);
|
||||
|
|
Loading…
Reference in a new issue