inode_still_linked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is the Kernel API Manual page for inode_still_linked(9) β€” manual name folded in near the top like a cute little bookmark πŸŽ€. It’s giving very specific UBIFS replay energy, so let’s go πŸ’…


πŸŽ€ NAME πŸŽ€

inode_still_linked β€” check whether inode in question will be re-linked. That’s the vibe check, no cap πŸ’…

✨ SYNOPSIS ✨

bool inode_still_linked (struct ubifs_info *c , struct replay_entry
       *rino );

🧚 ARGUMENTS 🧚

  • c β€” UBIFS file-system description object. The fs lore, basically 🌸
  • rino β€” replay entry to test. This is the entry under the microscope πŸ”

🌸 DESCRIPTION 🌸

O_TMPFILE files can be re-linked, bestie β€” this means link count goes from 0 to 1 πŸ”₯. This case needs special care, otherwise all references to the inode will be removed upon the first replay entry of an inode with link count 0 is found. Like, that’s the whole dramatic stakes 😭

lowkey important: O_TMPFILE re-link means link count 0 β†’ 1, and this is exactly the special-care case πŸ’€ Don’t sleep on it.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/ubifs/replay.c:


okay bestie, cute sign-off time: source/version is ./fs/ubifs, dated October 2026, and this was inode_still_linked(9) β€” periodt πŸ’…πŸ’–

πŸ“¦ where this page comes from