smb2_map_lease_to_oplock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smb2_map_lease_to_oplock(9) πŸ’…

okay so welcome to the Kernel API Manual entry for smb2_map_lease_to_oplock(9), bestie. this function is literally here to map a lease state to the corresponding oplock type, and that's the whole vibe πŸ’–


🌸 NAME 🌸

smb2_map_lease_to_oplock β€” map lease state to corresponding oplock type. no cap, that's the mission 🫢

✨ SYNOPSIS ✨

__u8 smb2_map_lease_to_oplock (__le32 lease_state );

πŸŽ€ ARGUMENTS πŸŽ€

  • lease_state β€” lease type. that's the input bestie, right there πŸ’…

πŸ¦‹ RETURN πŸ¦‹

  • 0 if no mapping. zero, nada, no match πŸ’€
  • otherwise, the corresponding oplock type. iconic return behavior, fr fr ✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./fs/smb/server/oplock.c

🫢 that's the whole page, bestie β€” source/version vibes: ./fs/smb/server, dated October 2026. bye! πŸ’–
πŸ“¦ where this page comes from