summaryrefslogtreecommitdiff
path: root/netfs/fuse/fuseSystem.cpp
blob: e2a9ab7320cf3c5ed4155975f0e8690f4e487a0a (plain)
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;
	}
}