sapling/eden/fs/nfs
Xavier Deguillard 74a34dd8c4 fs: default initialize XdrVariant
Summary:
My understanding of C++ not being perfect, I thought that these 2 fields would
be default initialized, but it turns out this is wrong, and the values of these
would be whatever is on the stack at the time a non-initialized variant is
used. The XdrSerialize variant test exercise this case and fails when optimized
due to that, this change fixes it.

Reviewed By: chadaustin, fanzeyi

Differential Revision: D26371695

fbshipit-source-id: 489cac846b51508809783bb577c7a97c4e6c060a
2021-02-10 13:18:46 -08:00
..
portmap nfs: ifdef it on Windows 2021-02-05 21:22:56 -08:00
rpc nfs: add NfsServer class 2021-02-09 12:47:11 -08:00
xdr fs: default initialize XdrVariant 2021-02-10 13:18:46 -08:00
CMakeLists.txt nfs: add NfsServer class 2021-02-09 12:47:11 -08:00
Mountd.cpp nfs: explicitely pass the EventBase to run the RpcServer on 2021-02-09 12:47:10 -08:00
Mountd.h nfs: add NfsServer class 2021-02-09 12:47:11 -08:00
MountdRpc.cpp nfs: ifdef it on Windows 2021-02-05 21:22:56 -08:00
MountdRpc.h nfs: ifdef it on Windows 2021-02-05 21:22:56 -08:00
MountdUtil.cpp inodes: attempt to NFS mount 2021-02-09 12:47:11 -08:00
Nfsd3.cpp nfs: implement PATHCONF 2021-02-09 12:47:14 -08:00
Nfsd3.h inodes: attempt to NFS mount 2021-02-09 12:47:11 -08:00
NfsdRpc.cpp nfs: add various enums/structs for the PATHCONF call 2021-02-09 12:47:14 -08:00
NfsdRpc.h nfs: add various enums/structs for the PATHCONF call 2021-02-09 12:47:14 -08:00
NfsServer.cpp inodes: attempt to NFS mount 2021-02-09 12:47:11 -08:00
NfsServer.h inodes: attempt to NFS mount 2021-02-09 12:47:11 -08:00