aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
authorDamien Le Moal <dlemoal@kernel.org>2026-01-06 16:00:57 +0900
committerJens Axboe <axboe@kernel.dk>2026-01-15 10:19:09 -0700
commit5e35a24c96185e1be4c24a713e53a49e92ab925b (patch)
treea21b91af64690423cdd08e15db2cc012d9074cdb /block
parent41ee77b75308354054f4fe03a05b8016a0d41573 (diff)
downloadath-5e35a24c96185e1be4c24a713e53a49e92ab925b.tar.gz
block: improve blk_op_str() comment
Replace XXX with what it actually means. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index a0bf5174e9e9f..d6732dc69dd9d 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -114,12 +114,12 @@ static const char *const blk_op_name[] = {
#undef REQ_OP_NAME
/**
- * blk_op_str - Return string XXX in the REQ_OP_XXX.
- * @op: REQ_OP_XXX.
+ * blk_op_str - Return the string "name" for an operation REQ_OP_name.
+ * @op: a request operation.
*
- * Description: Centralize block layer function to convert REQ_OP_XXX into
- * string format. Useful in the debugging and tracing bio or request. For
- * invalid REQ_OP_XXX it returns string "UNKNOWN".
+ * Convert a request operation REQ_OP_name into the string "name". Useful for
+ * debugging and tracing BIOs and requests. For an invalid request operation
+ * code, the string "UNKNOWN" is returned.
*/
inline const char *blk_op_str(enum req_op op)
{