block: improve print_req_error
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Jun 2019 17:59:15 +0000 (10:59 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jun 2019 19:03:51 +0000 (13:03 -0600)
commit178cc590e54a9e04a749a0474fcaac0e8c20888f
treeb325e1a83b53bfaef05e4ff98f0cdbf5d2bc6cf4
parent8060c47ba853f147c46bf1e6f6d93d1726fcb57a
block: improve print_req_error

Print the calling function instead of print_req_error as a prefix, and
print the operation and op_flags separately instead of the whole field.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c