nilfs_fileattr_set(9)
π nilfs_fileattr_set(9) β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual entry for nilfs_fileattr_set β it's a little function, it's got main character energy, and it's about to change some file attributes. no cap.
β¨ NAME β¨
nilfs_fileattr_set β change miscellaneous file attributes π¦
πΈ SYNOPSIS πΈ
int nilfs_fileattr_set (struct mnt_idmap *idmap , struct dentry *dentry
, struct file_kattr *fa );
that's the whole vibe, literally. three params, one int back. π«Ά
π ARGUMENTS π
idmapβ the idmap of the mount, iykyk πdentryβ the object to change β this is the thing you're actually messing with πfaβ fileattr pointer, the little go-between holding your attrs β¨
β RETURN β
0 when it slays (success), or a negative error code when it does not slay (failure). π that's it, that's the contract.
π SEE ALSO π
okay this list is long, but we do not skip. every single one, periodt:
- Kernel file
./fs/nilfs2/ioctl.cnilfs_ioctl_wrap_copy(9) nilfs_fileattr_get(9)nilfs_ioctl_getversion(9)nilfs_ioctl_change_cpmode(9)nilfs_ioctl_delete_checkpoint(9)nilfs_ioctl_do_get_cpinfo(9)nilfs_ioctl_get_cpstat(9)nilfs_ioctl_do_get_suinfo(9)nilfs_ioctl_get_sustat(9)nilfs_ioctl_do_get_vinfo(9)nilfs_ioctl_do_get_bdescs(9)nilfs_ioctl_get_bdescs(9)nilfs_ioctl_move_inode_block(9)nilfs_ioctl_move_blocks(9)nilfs_ioctl_delete_checkpoints(9)nilfs_ioctl_free_vblocknrs(9)nilfs_ioctl_mark_blocks_dirty(9)nilfs_ioctl_clean_segments(9)nilfs_ioctl_sync(9)nilfs_ioctl_resize(9)nilfs_ioctl_trim_fs(9)nilfs_ioctl_set_alloc_range(9)nilfs_ioctl_get_info(9)nilfs_ioctl_set_suinfo(9)nilfs_ioctl_get_fslabel(9)nilfs_ioctl_set_fslabel(9)
like, the entire nilfs2 ioctl friend group showed up to the party ππ and honestly? obsessed.
no warnings or bug notes in this one bestie β it's a clean little function. read the args, call it, check the return. that's the whole plot. π§ββοΈ
okay and finally, the sign-off: this page lives in ./fs/nilfs2, it's dated October 2026, and it's filed under the nilfs_fileattr_set(9) name. congrats to her, an icon, a legend, a kernel API manual entry βπΈ bye bestie, go set some fileattrs π
π¦ 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