zram: cleanup backing_dev_store
authorChristoph Hellwig <hch@lst.de>
Mon, 21 Sep 2020 07:19:50 +0000 (09:19 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Sep 2020 16:43:19 +0000 (10:43 -0600)
commit0fc66c9d63143f9437cd57cf5eab50a258fa40ec
tree59be6c2e3e032222581f1b624d3e4119730ee9ba
parentb8d954849cf4689d88ad84fd5cdb2d71d060f66a
zram: cleanup backing_dev_store

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>
drivers/block/zram/zram_drv.c