Page MenuHomeFreeBSD

stand/zfs: Move spa_find_by_dev from zfsimpl.c to zfs.c
ClosedPublic

Authored by imp on Apr 4 2023, 6:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 5, 9:22 AM
Unknown Object (File)
Wed, Oct 29, 3:31 AM
Unknown Object (File)
Fri, Oct 24, 2:45 AM
Unknown Object (File)
Thu, Oct 23, 8:21 PM
Unknown Object (File)
Mon, Oct 20, 12:49 AM
Unknown Object (File)
Oct 16 2025, 4:16 PM
Unknown Object (File)
Oct 10 2025, 12:31 PM
Unknown Object (File)
Oct 10 2025, 12:21 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable