Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7e4c3690b07f04b1942c39db358a5c8a72831daa
Commit:     7e4c3690b07f04b1942c39db358a5c8a72831daa
Parent:     3e9f45bd18191bbd05468b19b7064b8da8262aba
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:23:27 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:14:57 2007 -0700

    block_write_full_page(): report ENOSPC
    
    block_write_full_page() forgot to propagate ENPSOC into the address_space.
    
    Cc: Guillaume Chazarain <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 fs/buffer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/buffer.c b/fs/buffer.c
index 7db24b9..3b226f7 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to