Commit 5ad42b99 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Greg Kroah-Hartman
Browse files

pcd: cleanup initialization



[ Upstream commit af761f27 ]

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

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Stable-dep-of: 1a721de8 ("block: don't add or resize partition on the disk with GENHD_FL_NO_PART")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7607bc7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment