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

Commit 01ffe339 authored by Nathan Scott's avatar Nathan Scott
Browse files

Make alloc_page_buffers() initialise buffer_heads using init_buffer(),


like other routines here, to ensure buffers are correctly initialised
with respect to b_private/b_end_io.  Fixes an odd interaction between
XFS and reiserfs.

Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent 4a8e4a27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1027,7 +1027,7 @@ try_again:
		/* Link the buffer to its page */
		set_bh_page(bh, page, offset);

		bh->b_end_io = NULL;
		init_buffer(bh, NULL, NULL);
	}
	return head;
/*