summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/direntry.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-15 20:10:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-15 20:10:42 +0300
commit3d4ec0e043e9a683257757d3e84bec6798ff210d (patch)
treee4d7c597c49fa0f64682819ecb023339f85b1326 /src/fs/virtfs/direntry.cpp
parentf237697b267f10dc8b2b6b45f1f539c58f3ff435 (diff)
downloadplus-3d4ec0e043e9a683257757d3e84bec6798ff210d.tar.gz
plus-3d4ec0e043e9a683257757d3e84bec6798ff210d.tar.bz2
plus-3d4ec0e043e9a683257757d3e84bec6798ff210d.tar.xz
plus-3d4ec0e043e9a683257757d3e84bec6798ff210d.zip
Add subdir parameter into mountDir functions.
Diffstat (limited to 'src/fs/virtfs/direntry.cpp')
-rw-r--r--src/fs/virtfs/direntry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/virtfs/direntry.cpp b/src/fs/virtfs/direntry.cpp
index 2e82182ce..1ce81b97b 100644
--- a/src/fs/virtfs/direntry.cpp
+++ b/src/fs/virtfs/direntry.cpp
@@ -27,11 +27,13 @@ namespace VirtFs
DirEntry::DirEntry(const std::string &userDir0,
const std::string &rootDir,
+ const std::string &subDir0,
FsFuncs *restrict const funcs0) :
FsEntry(FsEntryType::Dir, funcs0),
userDir(userDir0)
{
root = rootDir;
+ subDir = subDir0;
}
DirEntry::~DirEntry()