diff options
| author | Hobin Woo <[email protected]> | 2024-09-04 04:36:35 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2024-09-14 05:03:15 +0000 |
| commit | ca4974ca954561e79f8871d220bb08f14f64f57c (patch) | |
| tree | ab13287214030eb467a0ea880072f5cd3b77566c /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | ksmbd: add refcnt to ksmbd_conn struct (diff) | |
| download | kernel-ca4974ca954561e79f8871d220bb08f14f64f57c.tar.gz kernel-ca4974ca954561e79f8871d220bb08f14f64f57c.zip | |
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: [email protected] # v6.1+
Signed-off-by: Hobin Woo <[email protected]>
Acked-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
