]> www.infradead.org Git - users/hch/block.git/commit
mm: cleanup claim_swapfile
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Sep 2020 09:59:09 +0000 (11:59 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 19 Sep 2020 05:20:05 +0000 (07:20 +0200)
commit499e94305aa133cda1eaf435867a46d88ef19e22
treee704a9f078fbe30cecbad626055d68c9d1d04f7f
parent72da9c90bc8b68da59557070a16aeda468b4e03f
mm: cleanup claim_swapfile

Use blkdev_get_by_dev instead of bdgrab + blkdev_get.

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