mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-01-16 22:18:07 +00:00
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: Nathan Scott <nathans@sgi.com>
This commit is contained in:
parent
4a8e4a270b
commit
01ffe339e3
@ -1027,7 +1027,7 @@ try_again:
|
|||||||
/* Link the buffer to its page */
|
/* Link the buffer to its page */
|
||||||
set_bh_page(bh, page, offset);
|
set_bh_page(bh, page, offset);
|
||||||
|
|
||||||
bh->b_end_io = NULL;
|
init_buffer(bh, NULL, NULL);
|
||||||
}
|
}
|
||||||
return head;
|
return head;
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user