diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2025-12-11 01:55:47 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2026-01-26 14:28:17 +0100 |
| commit | 4a94f052e0982794aa65312fe8b69999e4494a20 (patch) | |
| tree | d16f74884e35f8d07305faa4d67ccd39ee82e8f9 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 59d81037d32ff1e415dcaa359c238c9ca730932d (diff) | |
gfs2: Initialize bio->bi_opf early
Pass the right blk_opf_t value to bio_alloc() so that ->bi_ops is
initialized correctly and doesn't have to be changed later. Adjust the
call chain to pass that value through to where it is needed (and only
there).
Add a separate blk_opf_t argument to gfs2_chain_bio() instead of copying
the value from the previous bio.
Fixes: 8a157e0a0aa5 ("gfs2: Fix use of bio_chain")
Reported-by: syzbot+f6539d4ce3f775aee0cc@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=f6539d4ce3f775aee0cc
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
