aboutsummaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 7db24b9e5449..eb820b82a636 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -24,7 +24,6 @@
24#include <linux/mm.h> 24#include <linux/mm.h>
25#include <linux/percpu.h> 25#include <linux/percpu.h>
26#include <linux/slab.h> 26#include <linux/slab.h>
27#include <linux/smp_lock.h>
28#include <linux/capability.h> 27#include <linux/capability.h>
29#include <linux/blkdev.h> 28#include <linux/blkdev.h>
30#include <linux/file.h> 29#include <linux/file.h>
@@ -1727,6 +1726,7 @@ recover:
1727 } while ((bh = bh->b_this_page) != head); 1726 } while ((bh = bh->b_this_page) != head);
1728 SetPageError(page); 1727 SetPageError(page);
1729 BUG_ON(PageWriteback(page)); 1728 BUG_ON(PageWriteback(page));
1729 mapping_set_error(page->mapping, err);
1730 set_page_writeback(page); 1730 set_page_writeback(page);
1731 do { 1731 do {
1732 struct buffer_head *next = bh->b_this_page; 1732 struct buffer_head *next = bh->b_this_page;