Page MenuHomeFreeBSD

switch nvme driver from make_dev_credf to make_dev_s
ClosedPublic

Authored by hordijk_netapp.com on Apr 23 2018, 4:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 20, 1:22 AM
Unknown Object (File)
Sun, Jul 12, 5:16 PM
Unknown Object (File)
Mon, Jun 29, 10:14 PM
Unknown Object (File)
Mon, Jun 22, 2:04 AM
Unknown Object (File)
Jun 19 2026, 2:25 AM
Unknown Object (File)
May 19 2026, 9:01 AM
Unknown Object (File)
May 11 2026, 6:21 PM
Unknown Object (File)
May 11 2026, 9:46 AM

Details

Summary
Leveraging the newer interface, removing deprecated API.  Also allows us
to remove the redundant check on the cdev entry being non-NULL.
Test Plan

verified /dev/nvme device gets created

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16260
Build 16208: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 23 2018, 8:47 PM

Saves us a check at the cost of extra lines :)
this looks good.

Warner - can you commit this to HEAD?

This revision was automatically updated to reflect the committed changes.