commit | 874c893bf07b88d25c6d1db3e1d14e582f838281 | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | Thu Jun 20 10:59:17 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jun 20 13:03:51 2019 -0600 |
tree | c9920b0424ec498a4d27f902d5bdd6d4405c7159 | |
parent | e47bc4eda953928644109101d07c9c95dc29a458 [diff] |
block: use blk_op_str() in blk-mq-debugfs.c Now that we've a helper function blk_op_str() to convert the REQ_OP_XXX to string XXX, adjust the code to use that. Get rid of the duplicate array op_name which is now present in the blk-core.c which we renamed it to "blk_op_name" and open coding in the blk-mq-debugfs.c. Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>