summaryrefslogtreecommitdiff
path: root/netfs/daemon/daemonFile.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2014-05-23 10:13:56 +0000
committerrandomdan <randomdan@localhost>2014-05-23 10:13:56 +0000
commitb12d5d10f81b51681ac4b63ed49c6e72871de8bb (patch)
tree0b2959b52cc270fbd52fd818d43a02ff8ffb860a /netfs/daemon/daemonFile.h
parentAsynchronously call getattr for directory entries on readdir and cache them f... (diff)
downloadnetfs-b12d5d10f81b51681ac4b63ed49c6e72871de8bb.tar.bz2
netfs-b12d5d10f81b51681ac4b63ed49c6e72871de8bb.tar.xz
netfs-b12d5d10f81b51681ac4b63ed49c6e72871de8bb.zip
Use single shared entCache
Diffstat (limited to 'netfs/daemon/daemonFile.h')
-rw-r--r--netfs/daemon/daemonFile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/netfs/daemon/daemonFile.h b/netfs/daemon/daemonFile.h
index 9f170e4..6493bf8 100644
--- a/netfs/daemon/daemonFile.h
+++ b/netfs/daemon/daemonFile.h
@@ -6,7 +6,7 @@
class FileServer : public NetFS::File {
public:
- FileServer(int fd);
+ FileServer(int fd, UserEntCache * u, GroupEntCache * g);
virtual ~FileServer();
virtual void close(const Ice::Current&) override;
@@ -19,8 +19,8 @@ class FileServer : public NetFS::File {
private:
const int fd;
- UserEntCache uentries;
- GroupEntCache gentries;
+ UserEntCache * uentries;
+ GroupEntCache * gentries;
};
#endif