block_write_full_page(): report ENOSPC
A message that is not in the archive (sent off-list or not yet received): [email protected]
fs/buffer.c recover: · line 1733
Quoted 12 lines · [email protected] a écrit :
block_write_full_page()forgot to propagate ENPSOC into theaddress_space.fs/buffer.c renamed from fs/buffer.c~block_write_full_page-handle-enospc +1
-0@@ -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;
As I said in http://lkml.org/lkml/2007/2/9/336 I am not aware of any call stack where the error is dropped here.
So, this patch should not harm but I am not sure it does any good.
Thanks.
Signature · 1 line
Guillaume