diff --git a/[refs] b/[refs] index b4364856b1da..300c7c39c0b1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 74c3cbe33bc077ac1159cadfea608b501e100344 +refs/heads/master: 2fb59d623ad85dfdb8ce03a660051743f7361896 diff --git a/trunk/fs/buffer.c b/trunk/fs/buffer.c index 76403b1764c5..7249e014819e 100644 --- a/trunk/fs/buffer.c +++ b/trunk/fs/buffer.c @@ -2563,7 +2563,7 @@ int nobh_write_end(struct file *file, struct address_space *mapping, struct page *page, void *fsdata) { struct inode *inode = page->mapping->host; - struct buffer_head *head = NULL; + struct buffer_head *head = fsdata; struct buffer_head *bh; if (!PageMappedToDisk(page)) { @@ -2584,7 +2584,6 @@ int nobh_write_end(struct file *file, struct address_space *mapping, unlock_page(page); page_cache_release(page); - head = fsdata; while (head) { bh = head; head = head->b_this_page;