diff options
author | Christoph Hellwig <hch@lst.de> | 2022-11-14 05:26:37 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-30 11:09:00 -0700 |
commit | 63f93fd6fa5717769a78d6d7bea6f7f9a1ccca8e (patch) | |
tree | b8a478855d3c4575d481b9476eb822cdfc150519 /block/ioprio.c | |
parent | 2bd85221a625b316114bafaab527770b607095d3 (diff) | |
download | linux-63f93fd6fa5717769a78d6d7bea6f7f9a1ccca8e.tar.gz |
block: mark blk_put_queue as potentially blocking
We can't just say that the last reference release may block, as any
reference dropped could be the last one. So move the might_sleep() from
blk_free_queue to blk_put_queue and update the documentation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221114042637.1009333-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions