diff options
author | 2021-04-03 18:15:28 +0200 | |
---|---|---|
committer | 2021-04-07 22:41:26 -0700 | |
commit | 8b57251f9a91f5e5a599de7549915d2d226cc3af (patch) | |
tree | 6f73ef1c1c7455464ff00120bf706135fdd1f6f4 /include/linux/lightnvm.h | |
parent | md: md_open returns -EBUSY when entering racing area (diff) | |
download | wireguard-linux-8b57251f9a91f5e5a599de7549915d2d226cc3af.tar.xz wireguard-linux-8b57251f9a91f5e5a599de7549915d2d226cc3af.zip |
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: Heming Zhao <heming.zhao@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'include/linux/lightnvm.h')
0 files changed, 0 insertions, 0 deletions