diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-08 03:44:56 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:10 +0300 |
commit | 6fe893eade864665c0956a2ac2eff78b86dc8145 (patch) | |
tree | 499691b030f7ee84c37fecbd6e087dedaa67536b /fs/bcachefs/super-io.h | |
parent | c4e382e234778197c95c5553024e0b3f93103382 (diff) | |
download | linux-6fe893eade864665c0956a2ac2eff78b86dc8145.tar.xz |
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 <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super-io.h')
0 files changed, 0 insertions, 0 deletions