diff --git a/src/policy_epmfs.cpp b/src/policy_epmfs.cpp index 3d1c8a53..d712b5d9 100644 --- a/src/policy_epmfs.cpp +++ b/src/policy_epmfs.cpp @@ -129,6 +129,7 @@ _epmfs_create(const vector &basepaths, fsblkcnt_t mfs; string mfsbasepath; string epmfsbasepath; + string fullpath; mfs = 0; epmfs = 0; @@ -137,7 +138,9 @@ _epmfs_create(const vector &basepaths, int rv; const string &basepath = basepaths[i]; - rv = _try_statvfs(basepath,fusepath,epmfs,epmfsbasepath,mfs,mfsbasepath); + fullpath = fs::path::make(basepath,fusepath); + + rv = _try_statvfs(basepath,fullpath,epmfs,epmfsbasepath,mfs,mfsbasepath); if(rv == -1) _try_statvfs(basepath,mfs,mfsbasepath); }