linux/fs/smb
Hobin Woo ca4974ca95 ksmbd: make __dir_empty() compatible with POSIX
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.

Cc: stable@vger.kernel.org # v6.1+
Signed-off-by: Hobin Woo <hobin.woo@samsung.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-09-14 00:03:15 -05:00
..
client netfs, cifs: Improve some debugging bits 2024-09-03 10:17:51 -05:00
common smb: smb2pdu.h: Use static_assert() to check struct sizes 2024-08-15 16:06:55 -05:00
server ksmbd: make __dir_empty() compatible with POSIX 2024-09-14 00:03:15 -05:00
Kconfig
Makefile