summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3xdr.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2017-06-16 18:06:59 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-13 21:58:03 +0200
commit18fe6a23e3114a6737471570753b708ff293b9de (patch)
tree8b9f18b91cde6c5fcbc308787c1a1265adf7df39 /fs/nfs/nfs3xdr.c
parentnfsd4: const-ify nfsd4_ops (diff)
downloadlinux-18fe6a23e3114a6737471570753b708ff293b9de.tar.xz
linux-18fe6a23e3114a6737471570753b708ff293b9de.zip
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: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs3xdr.c')
0 files changed, 0 insertions, 0 deletions