From: Andrew Morton Date: Tue, 8 May 2007 07:23:27 +0000 (-0700) Subject: block_write_full_page(): report ENOSPC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e4c3690b07f04b1942c39db358a5c8a72831daa;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git block_write_full_page(): report ENOSPC block_write_full_page() forgot to propagate ENPSOC into the address_space. Cc: Guillaume Chazarain Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/buffer.c b/fs/buffer.c index 7db24b9e5449..3b226f7d9696 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -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;