block: add NULL checks for bic in bfq_bfqq_save_state function#803
block: add NULL checks for bic in bfq_bfqq_save_state function#803blktests-ci[bot] wants to merge 1 commit into
Conversation
|
Upstream branch: 6d35786 |
|
Upstream branch: 6d35786 |
df276bf to
f9c3345
Compare
1f0d33a to
b1870f6
Compare
|
Upstream branch: aa54b1d |
f9c3345 to
275a926
Compare
b1870f6 to
ca57796
Compare
|
Upstream branch: 70eda68 |
275a926 to
0669731
Compare
ca57796 to
c1feb59
Compare
|
Upstream branch: 8bc67e4 |
0669731 to
cdf4c2c
Compare
c1feb59 to
ea833a1
Compare
|
Upstream branch: 6779b50 |
cdf4c2c to
e576724
Compare
ea833a1 to
7af85d1
Compare
|
Upstream branch: 79bd2dd |
e576724 to
1a6c290
Compare
7af85d1 to
de94ac7
Compare
|
Upstream branch: eed108e |
1a6c290 to
392b3b1
Compare
de94ac7 to
86d8d37
Compare
|
Upstream branch: e8c2f9f |
392b3b1 to
dd9759f
Compare
86d8d37 to
9805659
Compare
|
Upstream branch: eb3f4b7 |
dd9759f to
c60e3ab
Compare
9805659 to
3f4a345
Compare
|
Upstream branch: 8fde5d1 |
c60e3ab to
79860bb
Compare
3f4a345 to
c6dc343
Compare
|
Upstream branch: e43ffb6 |
79860bb to
fe9fc17
Compare
c6dc343 to
fc36596
Compare
When the `bic` variable is null, referencing `bfqq_data` through `bic` will
cause the program to crash. Therefore, the null check for `bic` should be
moved to the beginning of the function to prevent referencing a null pointer.
Fixes:fd571df0ac5b("block, bfq: turn bfqq_data into an array in bfq_io_cq")
Signed-off-by: yanlonglong <yanlonglong@kylinos.cn>
|
Upstream branch: ba3e43a |
fe9fc17 to
c0c8b88
Compare
Pull request for series with
subject: block: add NULL checks for bic in bfq_bfqq_save_state function
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1090341