On Wed, Sep 4, 2024 at 1:36 PM Hobin Woo <hobin.woo@xxxxxxxxxxx> wrote: > > Some file systems may not provide dot (.) and dot-dot (..) as they are > optional in POSIX. ksmbd can misjudge emptiness of a directory in those > file systems, since it assumes there are always at least two entries: > dot and dot-dot. > Just don't count dot and dot-dot. > > Signed-off-by: Hobin Woo <hobin.woo@xxxxxxxxxxx> Applied it to #ksmbd-for-next-next. Thanks for your patch!