diff options
author | Andrew Morton <akpm@osdl.org> | 2007-05-08 03:23:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:14:57 -0400 |
commit | 7e4c3690b07f04b1942c39db358a5c8a72831daa (patch) | |
tree | 70d8773f612ed3df02c738b678edef64dd5ddaf7 | |
parent | 3e9f45bd18191bbd05468b19b7064b8da8262aba (diff) |
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>
-rw-r--r-- | fs/buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: | |||
1727 | } while ((bh = bh->b_this_page) != head); | 1727 | } while ((bh = bh->b_this_page) != head); |
1728 | SetPageError(page); | 1728 | SetPageError(page); |
1729 | BUG_ON(PageWriteback(page)); | 1729 | BUG_ON(PageWriteback(page)); |
1730 | mapping_set_error(page->mapping, err); | ||
1730 | set_page_writeback(page); | 1731 | set_page_writeback(page); |
1731 | do { | 1732 | do { |
1732 | struct buffer_head *next = bh->b_this_page; | 1733 | struct buffer_head *next = bh->b_this_page; |