lib/nfs/Connection: remove Mutex
All locks are currenly held from only a single thread (the IOThread) and thus we don't need the Mutex.
This commit is contained in:
src/lib/nfs
@@ -22,7 +22,6 @@
|
||||
|
||||
#include "Lease.hxx"
|
||||
#include "Cancellable.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "event/SocketMonitor.hxx"
|
||||
#include "event/DeferredMonitor.hxx"
|
||||
#include "util/Error.hxx"
|
||||
@@ -64,8 +63,6 @@ class NfsConnection : SocketMonitor, DeferredMonitor {
|
||||
|
||||
nfs_context *context;
|
||||
|
||||
Mutex mutex;
|
||||
|
||||
typedef std::list<NfsLease *> LeaseList;
|
||||
LeaseList new_leases, active_leases;
|
||||
|
||||
|
Reference in New Issue
Block a user