1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <pch.hpp> #include <typeConvert.h> #include "fuseApp.h" int NetFS::FuseApp::statfs(const char * p, struct statvfs * vfs) { try { *vfs << volume->statfs(reqEnv(), p); return 0; } catch (NetFS::SystemError & e) { return -e.syserrno; } }