]> www.infradead.org Git - users/hch/block.git/commit
mm: use bdev_is_zoned in claim_swapfile
authorChristoph Hellwig <hch@lst.de>
Sun, 27 Mar 2022 07:27:35 +0000 (09:27 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 14 Apr 2022 04:21:17 +0000 (06:21 +0200)
commit1a8251b6beeeb0ed5d9a63f24f64c181cbf00b3b
treec052c2c10152383db45f9e0e3252553d15b302f6
parent8134dcac4718b25d4a3f9c8df783c1b312c8d710
mm: use bdev_is_zoned in claim_swapfile

Use the bdev based helper instead of poking into the queue.

Signed-off-by: Christoph Hellwig <hch@lst.de>
mm/swapfile.c