]> 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)
commitcc0705db530b8c0a6cc9b33c4a3a5d01991008cb
treeb8fa6f09eaf457182290dbd43a24ad2196fb0883
parentcf115377f45eb9b78da1fae9804ecb44c27b5951
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