diff options
Diffstat (limited to 'netfs/fuseFS.cpp')
-rw-r--r-- | netfs/fuseFS.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/netfs/fuseFS.cpp b/netfs/fuseFS.cpp deleted file mode 100644 index ab27044..0000000 --- a/netfs/fuseFS.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "fuse.h" -#include "msgtypes.h" - -int -NetFS::statfs(const char * p, struct statvfs * vfs) -{ - TypedPayloadReq<StatfsRequest>::Ptr msg = new TypedPayloadReq<StatfsRequest>(fuse_get_context()); - msg->data.path = p; - TypedPayload<StatfsReply>::Ptr rep = msg->exchange(this); - *vfs = rep->data.statfs; - return -rep->data.error; -} - |