Re: [PATCH v2] ksmbd: make __dir_empty() compatible with POSIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux