grant_none_oplock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

grant_none_oplock(9)

okay so we're in the Kernel API Manual, and today's main character is literally grant_none_oplock β€” the function that grants a none oplock or none lease. bestie, it's giving "quiet luxury" but make it kernel. πŸ’…βœ¨

🌸 NAME 🌸

grant_none_oplock β€” grant none oplock or none lease 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

void grant_none_oplock (struct oplock_info *opinfo_new , struct
       lease_ctx_info *lctx );

πŸŽ€ ARGUMENTS πŸŽ€

  • opinfo_new β€” the new oplock info object, aka the fresh new main character of this oplock situation πŸ‘‘
  • lctx β€” lease context information, all the lease deets it's carrying πŸŽ€

⭐ RETURN ⭐

0 β€” that's the return, no cap. it just hands you a 0 and minds its business. πŸ’–

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./fs/smb/server/oplock.c and the whole friend group:


source/version: ./fs/smb/server Β· date: October 2026 Β· grant_none_oplock(9) β€” bye bestie, slay πŸ’…

πŸ“¦ where this page comes from