Skip to content
Commit 18fe6a23 authored by Anna Schumaker's avatar Anna Schumaker
Browse files

NFS: Set FATTR4_WORD0_TYPE for . and .. entries



The current code worked okay for getdents(), but getdents64() expects
the d_type field to get filled out properly in the stat structure.
Setting this field fixes xfstests generic/401.

Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 800222f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment