Commit 15729ff
Revert "Revert "block, bfq: honor already-setup queue merges""
A crash [1] happened to be triggered in conjunction with commit
2d52c58 ("block, bfq: honor already-setup queue merges"). The
latter was then reverted by commit ebc69e8 ("Revert "block, bfq:
honor already-setup queue merges""). Yet, the reverted commit was not
the one introducing the bug. In fact, it actually triggered a UAF
introduced by a different commit, and now fixed by commit d29bd41
("block, bfq: reset last_bfqq_created on group change").
So, there is no point in keeping commit 2d52c58 ("block, bfq:
honor already-setup queue merges") out. This commit restores it.
[1] https://bugzilla.kernel.org/show_bug.cgi?id=214503
Reported-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Link: https://lore.kernel.org/r/20211125181510.15004-1-paolo.valente@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 9793961 commit 15729ff
1 file changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2782 | 2782 | | |
2783 | 2783 | | |
2784 | 2784 | | |
| 2785 | + | |
| 2786 | + | |
| 2787 | + | |
| 2788 | + | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
| 2792 | + | |
| 2793 | + | |
2785 | 2794 | | |
2786 | 2795 | | |
2787 | 2796 | | |
| |||
2844 | 2853 | | |
2845 | 2854 | | |
2846 | 2855 | | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
2847 | 2860 | | |
2848 | 2861 | | |
2849 | 2862 | | |
| |||
2945 | 2958 | | |
2946 | 2959 | | |
2947 | 2960 | | |
2948 | | - | |
2949 | | - | |
2950 | | - | |
2951 | 2961 | | |
2952 | 2962 | | |
2953 | 2963 | | |
| |||
0 commit comments