Skip to content

Commit 8358e7d

Browse files
namhyungAl Viro
authored andcommitted
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: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent bb1e5f8 commit 8358e7d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎fs/buffer.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,6 @@ struct buffer_head *alloc_page_buffers(struct page *page, unsigned long size,
905905

906906
bh->b_state = 0;
907907
atomic_set(&bh->b_count, 0);
908-
bh->b_private = NULL;
909908
bh->b_size = size;
910909

911910
/* Link the buffer to its page */

0 commit comments

Comments
 (0)