diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-07-26 16:08:36 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-07-26 16:08:36 +0100 |
commit | 288c59d4a2d90c092bc66c4b873c28c25c52d527 (patch) | |
tree | aba0736352705ccc988933be6a5440568df2fd66 /netfs/fuse/fuseDirs.cpp | |
parent | Fix unittest Jamfile (diff) | |
download | netfs-288c59d4a2d90c092bc66c4b873c28c25c52d527.tar.bz2 netfs-288c59d4a2d90c092bc66c4b873c28c25c52d527.tar.xz netfs-288c59d4a2d90c092bc66c4b873c28c25c52d527.zip |
No more static entcache hack
Diffstat (limited to 'netfs/fuse/fuseDirs.cpp')
-rw-r--r-- | netfs/fuse/fuseDirs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs/fuse/fuseDirs.cpp b/netfs/fuse/fuseDirs.cpp index 1da9484..fa9f13b 100644 --- a/netfs/fuse/fuseDirs.cpp +++ b/netfs/fuse/fuseDirs.cpp @@ -79,7 +79,7 @@ NetFS::FuseApp::readdir(const char * p, void * buf, fuse_fill_dir_t filler, off_ statCache.Add(new OptimisticCallCacheable<struct stat, std::string, IceUtil::Shared>( [asga,this]() { struct stat s; - s << AttrSource { volume->end_getattr(asga), boost::bind(&UserEntCache::getID, &UserEntCache::instance, _1, _2), boost::bind(&GroupEntCache::getID, &GroupEntCache::instance, _1, _2) }; + s << AttrSource { volume->end_getattr(asga), userLookup, groupLookup }; return s; }, epath, time_t(NULL) + 2)); } |