sapling/eden/fs/nfs
Mark Shroyer b02c805973 Fix incorrect lock use in range-based for loops
Summary:
LockedPtrs used as temporaries within range expressions may go out of scope
before the end of the loop.

https://en.cppreference.com/w/cpp/language/range-for:

> If range-expression returns a temporary, its lifetime is extended until the
> end of the loop, as indicated by binding to the forwarding reference __range,
> but beware that the lifetime of any temporary within range-expression is not
> extended.

Reviewed By: xavierd

Differential Revision: D37904242

fbshipit-source-id: 915812e7bb4d19c333dc4c309261610884f8e61d
2022-07-18 10:22:18 -07:00
..
portmap fs: fix license header 2022-01-04 15:00:07 -08:00
rpc standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
test add unit test for access 2022-04-18 21:55:15 -07:00
testharness fs: fix license header 2022-01-04 15:00:07 -08:00
xdr fs: fix license header 2022-01-04 15:00:07 -08:00
CMakeLists.txt add unit test for access 2022-04-18 21:55:15 -07:00
DirList.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
DirList.h fs: fix license header 2022-01-04 15:00:07 -08:00
Mountd.cpp make parsing errors non fatal and log them 2022-03-24 15:20:43 -07:00
Mountd.h make parsing errors non fatal and log them 2022-03-24 15:20:43 -07:00
MountdRpc.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
MountdRpc.h fs: fix license header 2022-01-04 15:00:07 -08:00
Nfsd3.cpp Fix incorrect lock use in range-based for loops 2022-07-18 10:22:18 -07:00
Nfsd3.h fix invalidation on NFS 2022-04-19 20:32:54 -07:00
NfsDispatcher.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
NfsDispatcher.h fs: fix license header 2022-01-04 15:00:07 -08:00
NfsdRpc.cpp make parsing errors non fatal and log them 2022-03-24 15:20:43 -07:00
NfsdRpc.h make parsing errors non fatal and log them 2022-03-24 15:20:43 -07:00
NfsRequestContext.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
NfsRequestContext.h fs: fix license header 2022-01-04 15:00:07 -08:00
NfsServer.cpp make parsing errors non fatal and log them 2022-03-24 15:20:43 -07:00
NfsServer.h make parsing errors non fatal and log them 2022-03-24 15:20:43 -07:00
NfsUtils.cpp add unit test for access 2022-04-18 21:55:15 -07:00
NfsUtils.h compilation fixes for gcc 2022-06-23 15:45:36 -07:00