fc_rport_logoff(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fc_rport_logoff β€” Kernel API Manual ✨

okay so bestie, we're in the kernel API manual today (yes, that manual, the fc_rport_logoff(9) one) and honestly? iconic territory. let's get into it πŸŽ€


🌸 NAME 🌸

fc_rport_logoff β€” logoff and remove a remote port. she says bye and she means it πŸ’…


✨ SYNOPSIS ✨

int fc_rport_logoff (struct fc_rport_priv *rdata );

that's the whole vibe. returns an int, takes a pointer, we move πŸ¦‹


🫢 ARGUMENTS 🫢

  • rdata β€” the remote port to be logged off of. that's the one getting the goodbye message πŸ’Œ

πŸ’– DESCRIPTION πŸ’–

Locking Note: called without the rport lock held. no cap. this function will hold the rport lock, call an _enter_* function, and then unlock the rport.

so like… it takes the lock itself, does its little _enter_* thing, and hands the lock back. don't hold it yourself going in, that's the whole point πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

kernel file ./drivers/scsi/libfc/fc_rport.c, plus the whole friend group β€” literally the entire fc_rport cinematic universe:


okay that's the page!! tysm for reading, ily 🫢 this was brought to you by ./drivers/scsi/libfc, dated October 2026, live from the Kernel API Manual. go log off some ports bestie, slay πŸ’œβœ¨

πŸ“¦ where this page comes from