ksmbd_vfs_listxattr(9)
π ksmbd_vfs_listxattr(9) π
okay bestie, welcome to the Kernel API Manual entry for ksmbd_vfs_listxattr(9) β yes that's the whole title, we're not doing the fancy first-line thing, we're folding it in here like a little intro. let's go π«Ά
β¨ NAME β¨
ksmbd_vfs_listxattr β the vfs helper for smb list extended attributes. that's it. that's the vibe. she lists xattrs. iconic behavior honestly π
πΈ SYNOPSIS πΈ
ssize_t ksmbd_vfs_listxattr (struct dentry *dentry , char **list );
literally the whole signature, character for character, no cap. look at her go β¨
π¦ ARGUMENTS π¦
dentryβ the dentry of the file you're listing xattrs for. like, which file, bestie. that one πlistβ the destination buffer. it's where the goodies land. your output goes here π
π₯ RETURN π₯
Returns the xattr list length on success β slay β otherwise error. so if it's a number you're chilling, if it's an error then it's giving "not today" π
π SEE ALSO π
Kernel file ./fs/smb/server/vfs.c and her entire friend group, all of whom you should also go read, fr fr:
ksmbd_vfs_create(9)ksmbd_vfs_mkdir(9)check_lock_range(9)ksmbd_vfs_read(9)ksmbd_vfs_write(9)ksmbd_vfs_getattr(9)ksmbd_vfs_fsync(9)ksmbd_vfs_remove_file(9)ksmbd_vfs_link(9)ksmbd_vfs_truncate(9)ksmbd_vfs_getxattr(9)ksmbd_vfs_setxattr(9)ksmbd_vfs_set_fadvise(9)ksmbd_vfs_empty_dir(9)ksmbd_vfs_lookup_in_dir(9)ksmbd_vfs_kern_path(9)ksmbd_vfs_kern_path_start_removing(9)ksmbd_vfs_init_kstat(9)
the whole squad. the entire roster. main character energy all around πβ
lowkey a whole group chat of vfs helpers and you're just here for the xattr listing. respect. π§
okay that's the page! ./fs/smb/server, October 2026 β mwah, bye bestie, go list some xattrs πππ
π¦ 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