Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119192
b: refs/heads/master
c: bda8550
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Nov 20, 2008
1 parent 3d7986b commit ef5b6c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 966c8c12dc9e77f931e2281ba25d2f0244b06949
refs/heads/master: bda8550deed96687f29992d711a88ea21cff4d26
5 changes: 1 addition & 4 deletions trunk/mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,15 +522,12 @@ static int writeout(struct address_space *mapping, struct page *page)
remove_migration_ptes(page, page);

rc = mapping->a_ops->writepage(page, &wbc);
if (rc < 0)
/* I/O Error writing */
return -EIO;

if (rc != AOP_WRITEPAGE_ACTIVATE)
/* unlocked. Relock */
lock_page(page);

return -EAGAIN;
return (rc < 0) ? -EIO : -EAGAIN;
}

/*
Expand Down

0 comments on commit ef5b6c0

Please sign in to comment.