]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
zloop: factor out zloop_mark_{full,empty} helpers
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Apr 2026 08:17:50 +0000 (10:17 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Apr 2026 19:58:36 +0000 (13:58 -0600)
commitec5c045f6cc879637cb52c9902d5fb7d419bdf47
tree8f5f669e5c23e6992cb49a56e0c7e46e07f03951
parent5b680d7afc4a2fefa0b4f584462c7540de56e2e4
zloop: factor out zloop_mark_{full,empty} helpers

Move a few chunks of duplicated code into helpers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://patch.msgid.link/20260414081811.549755-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/zloop.c