ksmbd_vfs_empty_dir(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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