]> www.infradead.org Git - users/dwmw2/linux.git/commit
block: Switch to using refcount_t for zone write plugs
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 7 Nov 2024 06:54:38 +0000 (15:54 +0900)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 Nov 2024 18:21:52 +0000 (11:21 -0700)
commit4122fef16b172f7c1838fcf74340268c86ed96db
tree5ccc9d96def7f263560222db4d6456bdf5d35155
parentab9bc81c1cf0efc7fc5a3aa4e562aa88d09ada57
block: Switch to using refcount_t for zone write plugs

Replace the raw atomic_t reference counting of zone write plugs with a
refcount_t.  No functional changes.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202411050650.ilIZa8S7-lkp@intel.com/
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20241107065438.236348-1-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c