X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=fs%2Fbuffer.c;h=7249e014819e1a0432621d1d2576fd259f27632d;hb=3042a2ccd68d2b609d283219e51cba363aa35c1d;hp=76403b1764c54e53b5b2cb2660ae11d7352f0319;hpb=c548f08a4f7b89b93c805e0c4024b8302afa7121;p=cascardo%2Flinux.git 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, 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;