diff options
author | Yu Kuai <yukuai3@huawei.com> | 2022-10-19 20:15:15 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-23 18:59:17 -0600 |
commit | a9a236d238a5e8ab2e74ca62c2c7ba5dd435af77 (patch) | |
tree | 00317949d6b138449279ed53f8ca090375b92d8d /drivers/tty/sysrq.c | |
parent | b11d31ae01e6b0762b28e645ad6718a12faa8d14 (diff) | |
download | linux-a9a236d238a5e8ab2e74ca62c2c7ba5dd435af77.tar.gz linux-a9a236d238a5e8ab2e74ca62c2c7ba5dd435af77.tar.bz2 linux-a9a236d238a5e8ab2e74ca62c2c7ba5dd435af77.zip |
blk-wbt: make enable_state more accurate
Currently, if user disable wbt through sysfs, 'enable_state' will be
'WBT_STATE_ON_MANUAL', which will be confusing. Add a new state
'WBT_STATE_OFF_MANUAL' to cover that case.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221019121518.3865235-4-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/tty/sysrq.c')
0 files changed, 0 insertions, 0 deletions