pf: cleanup initialization
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Sep 2021 22:01:05 +0000 (15:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:41:36 +0000 (14:41 -0600)
commitfb367e6baeb0789d3f272a9aa21f5116e8ebd9dc
tree2c0fa2e7de27dc4952fbb4245f2fd19efb7b4e5b
parentaf761f277b7fd896c27cb1100b25f11567987822
pf: cleanup initialization

Refactor the pf initialization to have a dedicated helper to initialize
a single disk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/paride/pf.c