summaryrefslogtreecommitdiff
path: root/netfs/fuse.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-11-12 22:48:16 +0000
committerrandomdan <randomdan@localhost>2010-11-12 22:48:16 +0000
commit39bf5471944c7fe560d0dfe194a4f3c17a76c542 (patch)
tree852c7db3e91af11b2165ef3f82aa12012f891b8a /netfs/fuse.h
parentAdd locking for safe multi-threaded use in client (diff)
downloadnetfs-39bf5471944c7fe560d0dfe194a4f3c17a76c542.tar.bz2
netfs-39bf5471944c7fe560d0dfe194a4f3c17a76c542.tar.xz
netfs-39bf5471944c7fe560d0dfe194a4f3c17a76c542.zip
Refactor and templatize EntCache to remove code duplication
Adding read/write locking to EntCache Related changes to separating EntCache into an instance for users and one for groups
Diffstat (limited to 'netfs/fuse.h')
-rw-r--r--netfs/fuse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/netfs/fuse.h b/netfs/fuse.h
index 707e54a..0b25ad7 100644
--- a/netfs/fuse.h
+++ b/netfs/fuse.h
@@ -100,7 +100,8 @@ class NetFS : public FuseAppBase
std::string exportName;
std::string configPath;
- EntCache entries;
+ UserEntCache uentries;
+ GroupEntCache gentries;
OpenDirs openDirs;
int openDirID;
OpenFiles openFiles;