]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/buffer.c
fs/buffer.c: remove redundant initialization in alloc_page_buffers()
[karo-tx-linux.git] / fs / buffer.c
index 9083e528e3c9a8d5876f230f70bc452ff9e5c70e..c017a2dfb9097e73837230d244ffb14f73dd0e1c 100644 (file)
@@ -849,13 +849,10 @@ try_again:
                if (!bh)
                        goto no_grow;
 
-               bh->b_bdev = NULL;
                bh->b_this_page = head;
                bh->b_blocknr = -1;
                head = bh;
 
-               bh->b_state = 0;
-               atomic_set(&bh->b_count, 0);
                bh->b_size = size;
 
                /* Link the buffer to its page */