ksmbd_vfs_empty_dir(9)
π ksmbd_vfs_empty_dir(9) π
okay so bestie, welcome to the ksmbd_vfs_empty_dir page from the Kernel API Manual β yes it's a real one, yes it's iconic, and yes we're gonna get through it together π
β¨ NAME β¨
ksmbd_vfs_empty_dir β check for empty directory
like, is this directory empty or not? that's the whole vibe check π
β¨ SYNOPSIS β¨
int ksmbd_vfs_empty_dir (struct ksmbd_file *fp );
one function, one argument, zero drama π¦
β¨ ARGUMENTS β¨
fpβ ksmbd file pointer. that's it, that's the whole input, she's low maintenance π
β¨ RETURN β¨
returns true if the directory is empty, otherwise false β no cap, that's literally the whole answer πΈ
β¨ SEE ALSO β¨
the source lives in the kernel file ./fs/smb/server/vfs.c, and honestly the whole friend group is here, go say hi to:
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_listxattr(9)ksmbd_vfs_getxattr(9)ksmbd_vfs_setxattr(9)ksmbd_vfs_set_fadvise(9)ksmbd_vfs_lookup_in_dir(9)ksmbd_vfs_kern_path(9)ksmbd_vfs_kern_path_start_removing(9)ksmbd_vfs_init_kstat(9)
that's the page bb!! π«Ά this one's sourced from ./fs/smb/server, dated October 2026, and the manual tag is ksmbd_vfs_empty_dir(9) β go forth and check those directories, mwah ππ
π¦ 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