inode_still_linked(9)
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_TMPFILEre-link means link count0β1, and this is exactly the special-care case π Donβt sleep on it.
π¦ SEE ALSO π¦
Kernel file ./fs/ubifs/replay.c:
struct replay_entry(9)struct bud_entry(9)set_bud_lprops(9)set_buds_lprops(9)trun_remove_range(9)apply_replay_entry(9)replay_entries_cmp(9)apply_replay_list(9)destroy_replay_list(9)insert_node(9)insert_dent(9)ubifs_validate_entry(9)is_last_bud(9)authenticate_sleb(9)replay_bud(9)replay_buds(9)destroy_bud_list(9)add_replay_bud(9)validate_ref(9)replay_log_leb(9)take_ihead(9)ubifs_replay_journal(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms