ubifs_jnl_delete_xattr(9)
π ubifs_jnl_delete_xattr π
okay bestie, welcome to the ubifs_jnl_delete_xattr page from the Kernel API Manual β yes it's a real function, yes it lives in the kernel, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
ubifs_jnl_delete_xattr β delete an extended attribute. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
int ubifs_jnl_delete_xattr (struct ubifs_info *c , const struct inode
*host , const struct inode *inode , const struct fscrypt_name *nm );
literally the whole signature, don't @ me π
β¨ ARGUMENTS β¨
cβ the UBIFS file-system description object. it's giving "main character of the filesystem" energy πhostβ the host inode π¦inodeβ the extended attribute inode β¨nmβ the extended attribute entry name πΈ
β¨ DESCRIPTION β¨
so what does this icon actually do? it deletes an extended attribute β and no cap, it's very similar to unlinking regular files. like, same family, different font π
here's the tea, step by step:
- it writes a deletion xentry
- it writes a deletion inode
- it updates the target inode
and then? it returns zero in case of success, and a negative error code in case of failure π so like, check that return value bestie, fr fr.
ngl this function's whole personality is "quietly do three writes and report back in an int" and honestly? we stan a consistent queen π
β¨ SEE ALSO β¨
okay this list is long but every single one of these deserves its moment, so here we go β all straight from the Kernel file ./fs/ubifs/journal.c π₯:
zero_ino_node_unused(9)zero_dent_node_unused(9)zero_trun_node_unused(9)reserve_space(9)write_head(9)__queue_and_wait(9)wait_for_reservation(9)wake_up_reservation(9)add_or_start_queue(9)make_reservation(9)release_head(9)finish_reservation(9)get_dent_type(9)pack_inode(9)mark_inode_clean(9)ubifs_jnl_update(9)ubifs_jnl_write_data(9)ubifs_jnl_write_inode(9)ubifs_jnl_delete_inode(9)ubifs_jnl_xrename(9)ubifs_jnl_rename(9)truncate_data_node(9)ubifs_jnl_truncate(9)ubifs_jnl_change_xattr(9)
like, that's the whole friend group and they all ate π
and that's the page!! mwah π this one came to you from ./fs/ubifs, dated October 2026, and it's titled ubifs_jnl_delete_xattr(9) β go forth and delete those extended attributes, bestie, iykyk π§ββοΈβ
π¦ 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