diff options
Diffstat (limited to 'netfs/fuseDirs.cpp')
-rw-r--r-- | netfs/fuseDirs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/netfs/fuseDirs.cpp b/netfs/fuseDirs.cpp index 846f1de..9d3861e 100644 --- a/netfs/fuseDirs.cpp +++ b/netfs/fuseDirs.cpp @@ -5,7 +5,7 @@ int NetFS::opendir(const char * p, struct fuse_file_info * fi) { try { - fi->fh = dirs->opendir(p); + fi->fh = dirs->opendir(authtok, p); return 0; } catch (NetFSComms::SystemError & e) { @@ -17,7 +17,7 @@ int NetFS::releasedir(const char *, struct fuse_file_info * fi) { try { - dirs->closedir(fi->fh); + dirs->closedir(authtok, fi->fh); return 0; } catch (NetFSComms::SystemError & e) { @@ -29,7 +29,7 @@ int NetFS::readdir(const char *, void * buf, fuse_fill_dir_t filler, off_t, struct fuse_file_info * fi) { try { - NetFSComms::NameList ds = dirs->readdir(fi->fh); + NetFSComms::NameList ds = dirs->readdir(authtok, fi->fh); for (NetFSComms::NameList::const_iterator e = ds.begin(); e != ds.end(); e++) { filler(buf, e->c_str(), NULL, 0); } @@ -44,7 +44,7 @@ int NetFS::mkdir(const char * p, mode_t m) { try { - dirs->mkdir(p, m); + dirs->mkdir(authtok, p, m); return 0; } catch (NetFSComms::SystemError & e) { @@ -55,7 +55,7 @@ int NetFS::rmdir(const char * p) { try { - dirs->rmdir(p); + dirs->rmdir(authtok, p); return 0; } catch (NetFSComms::SystemError & e) { |