simple_get_link(9)
π NAME π
okay so welcome to the Kernel API Manual page for simple_get_link(9), bestie β it's the generic helper to get the target of "fast" symlinks. β¨
πΈ SYNOPSIS πΈ
here's the signature, exactly as written:
const char * simple_get_link (struct dentry *dentry , struct inode
*inode , struct delayed_call *done );
π ARGUMENTS π
dentryβ not used here, so she's just chilling in the parameter list. πinodeβ the symlink inode, aka the main character. πdoneβ not used here either. no notes. π
π¦ DESCRIPTION π¦
so this is the generic helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. highkey convenient. π«Ά
β οΈ NOTE: this isn't normally called, since as an optimization the path lookup code uses any non-NULL->i_linkdirectly, without calling->get_link. But->get_linkstill must be set, to mark theinode_operationsas being for a symlink. that's the whole note, bestie. π
β RETURN β
the symlink target. that's it, that's the return. π
π SEE ALSO π
all from the Kernel file ./fs/libfs.c β and yes, we're listing every single one because we don't skip:
simple_offset_init(9)simple_offset_add(9)simple_offset_remove(9)simple_offset_rename(9)simple_offset_rename_exchange(9)simple_offset_destroy(9)offset_dir_llseek(9)offset_readdir(9)simple_rename_timestamp(9)simple_setattr(9)simple_write_end(9)simple_read_from_buffer(9)simple_write_to_buffer(9)memory_read_from_buffer(9)generic_encode_ino32_fh(9)generic_fh_to_dentry(9)generic_fh_to_parent(9)simple_fsync_noflush(9)simple_fsync(9)generic_check_addressable(9)generic_ci_d_compare(9)generic_ci_d_hash(9)generic_ci_match(9)generic_set_sb_d_ops(9)inode_maybe_inc_iversion(9)inode_query_iversion(9)simple_inode_init_ts(9)path_from_stashed(9)simple_start_creating(9)
that's the page, bestie. source is ./fs, date is October 2026, and the manual entry is simple_get_link(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