xprt_unregister_transport(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to xprt_unregister_transport(9) β€” from the Kernel API Manual, no less πŸ’…. This function does one (1) iconic job: it unregisters a transport implementation. ngl, it's giving "clean up after yourself" main character energy, and we love that for it. Periodt.

πŸŽ€ SYNOPSIS πŸŽ€

int xprt_unregister_transport (struct xprt_class *transport );

🫢 ARGUMENTS 🫢

  • transport β€” the transport to unregister, bestie. That's the whole argument. Lowkey simple, highkey important. ✨

πŸ’– RETURN πŸ’–

  • 0 β€” slay βœ… the transport was successfully unregistered. That's the happy path, fr fr.
  • -ENOENT β€” the transport was never registered 😭. It's giving "you can't unregister what was never registered," and the return value said it first.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/sunrpc/xprt.c is the home base. The whole SEE ALSO bestie squad is:


Sign-off cutie: this page's source is ./net/sunrpc, dated October 2026, and it's all about xprt_unregister_transport(9). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from