]> git.baikalelectronics.ru Git - kernel.git/commit
mm: cleanup claim_swapfile
authorChristoph Hellwig <hch@lst.de>
Mon, 21 Sep 2020 07:19:54 +0000 (09:19 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Sep 2020 16:43:19 +0000 (10:43 -0600)
commit686046e61ef9d1567e34d9d86aa405b0c183c7bb
treeb8fa6f09eaf457182290dbd43a24ad2196fb0883
parent6f7578485c792248551d95dcf3ca7c75400ed1d7
mm: cleanup claim_swapfile

Use blkdev_get_by_dev instead of bdgrab + blkdev_get.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/swapfile.c