Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e4c3690 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3e9f45bd
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1727,6 +1727,7 @@ recover:
	} while ((bh = bh->b_this_page) != head);
	} while ((bh = bh->b_this_page) != head);
	SetPageError(page);
	SetPageError(page);
	BUG_ON(PageWriteback(page));
	BUG_ON(PageWriteback(page));
	mapping_set_error(page->mapping, err);
	set_page_writeback(page);
	set_page_writeback(page);
	do {
	do {
		struct buffer_head *next = bh->b_this_page;
		struct buffer_head *next = bh->b_this_page;