cifs: STATUS_INVALID_PARAMETER/EINVAL returned when listed directory contents for some files
Issue
Listing directory contents return error for some of the files :
# ls -l
ls: cannot access 'file2': Invalid argument
ls: cannot access 'file3': Invalid argument
ls: cannot access 'file4': Invalid argument
total 200
drwxrwxr-x 2 root root 81520 Sep 09 2020 file1
d?????????? ? ? ? ? ? file2
d?????????? ? ? ? ? ? file3
d?????????? ? ? ? ? ? file4
Environment
- RHEL8.3 or below
- cifs
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.