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)
Sun, Apr 12, 1:10 PM
Unknown Object (File)
Sat, Apr 11, 12:35 PM
Unknown Object (File)
Sat, Apr 11, 11:04 AM
Unknown Object (File)
Sat, Apr 11, 4:35 AM
Unknown Object (File)
Sat, Apr 11, 12:45 AM
Unknown Object (File)
Mar 20 2026, 3:36 AM
Unknown Object (File)
Mar 8 2026, 3:33 PM
Unknown Object (File)
Feb 26 2026, 3:40 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 50753
Build 47644: arc lint + arc unit