diff options
| author | Christoph Hellwig <hch@lst.de> | 2021-04-03 18:15:28 +0200 |
|---|---|---|
| committer | Song Liu <song@kernel.org> | 2021-04-07 22:41:26 -0700 |
| commit | 8b57251f9a91f5e5a599de7549915d2d226cc3af (patch) | |
| tree | 6f73ef1c1c7455464ff00120bf706135fdd1f6f4 /tools/perf/scripts/python | |
| parent | md: md_open returns -EBUSY when entering racing area (diff) | |
| download | linux-8b57251f9a91f5e5a599de7549915d2d226cc3af.tar.gz 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
