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

md: factor out a mddev_find_locked helper from mddev_find



Factor out a self-contained helper to just lookup a mddev by the dev_t
"unit".

Cc: stable@vger.kernel.org
Reviewed-by: default avatarHeming Zhao <heming.zhao@suse.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent 6a4db2a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment