]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/zfs: Move spa_find_by_dev from zfsimpl.c to zfs.c
authorWarner Losh <imp@FreeBSD.org>
Mon, 1 May 2023 15:26:44 +0000 (09:26 -0600)
committerWarner Losh <imp@FreeBSD.org>
Mon, 1 May 2023 21:02:52 +0000 (15:02 -0600)
commit439a9766adbabcdfcce9fb0396b43c9e1482155a
treeef99bdfa3884a684e4d3dea8de3bf5a34f2b1014
parent91ac713b646de667ac149be7dfe06adba4ce55cc
stand/zfs: Move spa_find_by_dev from zfsimpl.c to zfs.c

zfsimpl.c doesn't know about devdesc at all, but zfs.c does. Move it to
zfs.c, which is the only user. Keep it static for now, but it could be
exposed later if something else were to need it.

Sponsored by: Netflix
Reviewed by: tsoome, kevans
Differential Revision: https://reviews.freebsd.org/D39408
stand/libsa/zfs/zfs.c
stand/libsa/zfs/zfsimpl.c