diff options
| author | Kent Overstreet <[email protected]> | 2023-08-08 00:44:56 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 21:10:10 +0000 |
| commit | 6fe893eade864665c0956a2ac2eff78b86dc8145 (patch) | |
| tree | 499691b030f7ee84c37fecbd6e087dedaa67536b /fs/bcachefs/btree_trans_commit.c | |
| parent | bcachefs: Convert journal validation to bkey_invalid_flags (diff) | |
| download | kernel-6fe893eade864665c0956a2ac2eff78b86dc8145.tar.gz kernel-6fe893eade864665c0956a2ac2eff78b86dc8145.zip | |
bcachefs: Fix for sb buffer being misaligned
On old kernels, kmalloc() may return an allocation that's not naturally
aligned - this resulted in a bug where we allocated a bio with not
enough biovecs. Fix this by using buf_pages().
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions
