mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
block_write_full_page(): report ENOSPC
block_write_full_page() forgot to propagate ENPSOC into the address_space. Cc: Guillaume Chazarain <guichaz@yahoo.fr> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
3e9f45bd18
commit
7e4c3690b0
1 changed files with 1 additions and 0 deletions
|
@ -1727,6 +1727,7 @@ recover:
|
|||
} while ((bh = bh->b_this_page) != head);
|
||||
SetPageError(page);
|
||||
BUG_ON(PageWriteback(page));
|
||||
mapping_set_error(page->mapping, err);
|
||||
set_page_writeback(page);
|
||||
do {
|
||||
struct buffer_head *next = bh->b_this_page;
|
||||
|
|
Loading…
Reference in a new issue