block: use req_op() to maintain consistency
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 13 Jun 2019 14:14:21 +0000 (07:14 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Jun 2019 15:34:18 +0000 (09:34 -0600)
commitf9bc64a0f0f884036d76d71edeaafb994c5ceddf
treebb7eacd312dd5417267a6ce4b4be1cb477839044
parent6631142229005e1b1c311a09efe9fb3cfdac8559
block: use req_op() to maintain consistency

This is a pure code cleanup patch and doesn't change any functionality.
In block layer to identify the request operation req_op() macro is
used, so change the open coding the req_op() in the blk-mq-debugfs.c.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c