diff options
| author | Yu Kuai <[email protected]> | 2023-05-22 12:18:54 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-05-23 17:08:53 +0000 |
| commit | 8a2b20a997a3779ae9fcae268f2959eb82ec05a1 (patch) | |
| tree | 955fb3317a0627be1bf0b2c14833aedc4488476e /net/nsh/nsh.c | |
| parent | block: remove NFL4_UFLG_MASK (diff) | |
| download | kernel-8a2b20a997a3779ae9fcae268f2959eb82ec05a1.tar.gz kernel-8a2b20a997a3779ae9fcae268f2959eb82ec05a1.zip | |
blk-wbt: fix that wbt can't be disabled by default
commit b11d31ae01e6 ("blk-wbt: remove unnecessary check in
wbt_enable_default()") removes the checking of CONFIG_BLK_WBT_MQ by
mistake, which is used to control enable or disable wbt by default.
Fix the problem by adding back the checking. This patch also do a litter
cleanup to make related code more readable.
Fixes: b11d31ae01e6 ("blk-wbt: remove unnecessary check in wbt_enable_default()")
Reported-by: Lukas Bulwahn <[email protected]>
Link: https://lore.kernel.org/lkml/CAKXUXMzfKq_J9nKHGyr5P5rvUETY4B-fxoQD4sO+NYjFOfVtZA@mail.gmail.com/t/
Signed-off-by: Yu Kuai <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
