input/async: use class HugeAllocation

This commit is contained in:
Max Kellermann
2016-06-17 18:06:02 +02:00
parent 91769d536d
commit bdd0c3686d
4 changed files with 7 additions and 9 deletions

View File

@@ -24,7 +24,6 @@
#include "lib/nfs/Domain.hxx"
#include "lib/nfs/Glue.hxx"
#include "lib/nfs/FileReader.hxx"
#include "util/HugeAllocator.hxx"
#include "util/StringCompare.hxx"
#include "util/Error.hxx"
@@ -50,7 +49,6 @@ class NfsInputStream final : public AsyncInputStream, NfsFileReader {
public:
NfsInputStream(const char *_uri, Mutex &_mutex, Cond &_cond)
:AsyncInputStream(_uri, _mutex, _cond,
HugeAllocate(NFS_MAX_BUFFERED),
NFS_MAX_BUFFERED,
NFS_RESUME_AT),
reconnect_on_resume(false), reconnecting(false) {}