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 |
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>
1a6c290 to
392b3b1
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