zfcp_unit_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

zfcp_unit_remove(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual page for zfcp_unit_remove(9) β€” this is the function whose whole vibe is Remove entry from list of configured units. no cap, it's giving list-edit main character energy πŸ’….


πŸ’– NAME πŸ’–

zfcp_unit_remove β€” Remove entry from list of configured units ✨

πŸ“œ SYNOPSIS πŸ“œ

int zfcp_unit_remove (struct zfcp_port *port , u64 fcp_lun );

πŸŽ€ ARGUMENTS πŸŽ€

  • port β€” The port where to remove the unit from the configuration 🫢
  • fcp_lun β€” The 64 bit LUN of the unit to remove πŸ”₯

🌸 RETURN 🌸

  • -EINVAL β€” if a unit with the specified LUN does not exist 😭
  • 0 β€” on success ⭐

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file ./drivers/s390/scsi/zfcp_unit.c is right there, and the cross-ref besties are:


lowkey important: you get -EINVAL if a unit with the specified LUN does not exist, and 0 on success. periodt. πŸ’€βœ¨

cute sign-off for zfcp_unit_remove(9): source/version is ./drivers/s390/scsi, date is October 2026 β€” mwah, bye bestie πŸ’–πŸŽ€

πŸ“¦ where this page comes from