mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
block: unexport blk_status_to_str
Only used in core block code, so unexport and move the prototype to blk.h. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://patch.msgid.link/20260515045547.3790129-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
9957d5bbb9
commit
82aaa55a31
|
|
@ -197,7 +197,6 @@ const char *blk_status_to_str(blk_status_t status)
|
|||
return "<null>";
|
||||
return blk_errors[idx].name;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(blk_status_to_str);
|
||||
|
||||
/**
|
||||
* blk_sync_queue - cancel any pending callbacks on a queue
|
||||
|
|
|
|||
|
|
@ -49,6 +49,8 @@ struct blk_flush_queue *blk_alloc_flush_queue(int node, int cmd_size,
|
|||
gfp_t flags);
|
||||
void blk_free_flush_queue(struct blk_flush_queue *q);
|
||||
|
||||
const char *blk_status_to_str(blk_status_t status);
|
||||
|
||||
bool __blk_mq_unfreeze_queue(struct request_queue *q, bool force_atomic);
|
||||
bool blk_queue_start_drain(struct request_queue *q);
|
||||
bool __blk_freeze_queue_start(struct request_queue *q,
|
||||
|
|
|
|||
|
|
@ -1040,7 +1040,6 @@ extern const char *blk_op_str(enum req_op op);
|
|||
|
||||
int blk_status_to_errno(blk_status_t status);
|
||||
blk_status_t errno_to_blk_status(int errno);
|
||||
const char *blk_status_to_str(blk_status_t status);
|
||||
|
||||
/* only poll the hardware once, don't continue until a completion was found */
|
||||
#define BLK_POLL_ONESHOT (1 << 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user