Skip to content
Commit 85c8c3c1 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Song Liu
Browse files

md: factor out a mddev_alloc_unit helper from mddev_find



Split out a self contained helper to find a free minor for the md
"unit" number.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent f8ee34a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment