Commit 8358e7d7 authored by Namhyung Kim's avatar Namhyung Kim Committed by Al Viro

fs/buffer.c: remove duplicated assignment on b_private

bh->b_private is initialized within init_buffer(), thus the
assignment should be redundant. Remove it.
Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent bb1e5f8c
...@@ -905,7 +905,6 @@ struct buffer_head *alloc_page_buffers(struct page *page, unsigned long size, ...@@ -905,7 +905,6 @@ struct buffer_head *alloc_page_buffers(struct page *page, unsigned long size,
bh->b_state = 0; bh->b_state = 0;
atomic_set(&bh->b_count, 0); atomic_set(&bh->b_count, 0);
bh->b_private = NULL;
bh->b_size = size; bh->b_size = size;
/* Link the buffer to its page */ /* Link the buffer to its page */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment