diff options
author | 2019-06-20 10:59:17 -0700 | |
---|---|---|
committer | 2019-06-20 13:03:51 -0600 | |
commit | 874c893bf07b88d25c6d1db3e1d14e582f838281 (patch) | |
tree | c9920b0424ec498a4d27f902d5bdd6d4405c7159 /drivers/lightnvm/core.c | |
parent | block: add centralize REQ_OP_XXX to string helper (diff) | |
download | linux-rng-874c893bf07b88d25c6d1db3e1d14e582f838281.tar.xz linux-rng-874c893bf07b88d25c6d1db3e1d14e582f838281.zip |
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>
Diffstat (limited to 'drivers/lightnvm/core.c')
0 files changed, 0 insertions, 0 deletions