mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge branch 'master' into next
Conflicts: fs/nfsd/nfs4recover.c Manually fixed above to use new creds API functions, e.g. nfs4_save_creds(). Signed-off-by: James Morris <[email protected]>
This commit is contained in:
commit
ec98ce480a
541 changed files with 8260 additions and 4545 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue