ocfs2: cleanup o2hb_region_dev_store
authorChristoph Hellwig <hch@lst.de>
Mon, 21 Sep 2020 07:19:53 +0000 (09:19 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Sep 2020 16:43:19 +0000 (10:43 -0600)
commite455ed22906c02c7638e127dbf60634765db02cd
tree534be5de8dc252f497a4ae756218fdf92470f59f
parent841ab72cb5be3bbf6544f28329b81c73f0f835b3
ocfs2: cleanup o2hb_region_dev_store

Use blkdev_get_by_dev instead of igrab (aka open coded bdgrab) +
blkdev_get.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/ocfs2/cluster/heartbeat.c