Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1df79da8 authored by Namhyung Kim's avatar Namhyung Kim Committed by Linus Torvalds
Browse files

fs/buffer.c: remove duplicated assignment to b_private



bh->b_private is initialized within init_buffer(), thus this assignment is
redundant.

Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d8826262
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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 */