aboutsummaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 76403b1764c5..7249e014819e 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -2563,7 +2563,7 @@ int nobh_write_end(struct file *file, struct address_space *mapping,
2563 struct page *page, void *fsdata) 2563 struct page *page, void *fsdata)
2564{ 2564{
2565 struct inode *inode = page->mapping->host; 2565 struct inode *inode = page->mapping->host;
2566 struct buffer_head *head = NULL; 2566 struct buffer_head *head = fsdata;
2567 struct buffer_head *bh; 2567 struct buffer_head *bh;
2568 2568
2569 if (!PageMappedToDisk(page)) { 2569 if (!PageMappedToDisk(page)) {
@@ -2584,7 +2584,6 @@ int nobh_write_end(struct file *file, struct address_space *mapping,
2584 unlock_page(page); 2584 unlock_page(page);
2585 page_cache_release(page); 2585 page_cache_release(page);
2586 2586
2587 head = fsdata;
2588 while (head) { 2587 while (head) {
2589 bh = head; 2588 bh = head;
2590 head = head->b_this_page; 2589 head = head->b_this_page;