summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/direntry.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-17 18:21:22 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-17 18:21:22 +0300
commitcda39ec9d6a0b5fab2c009046cf3570ab90db20b (patch)
treecd9d1c5a6abb749d81d7f785917ceb6d0525b898 /src/fs/virtfs/direntry.cpp
parenta9d80dc997f95aa17a12e4d797ecc26072a38edb (diff)
downloadmv-cda39ec9d6a0b5fab2c009046cf3570ab90db20b.tar.gz
mv-cda39ec9d6a0b5fab2c009046cf3570ab90db20b.tar.bz2
mv-cda39ec9d6a0b5fab2c009046cf3570ab90db20b.tar.xz
mv-cda39ec9d6a0b5fab2c009046cf3570ab90db20b.zip
Improve a bit virtfs based on directories.
Diffstat (limited to 'src/fs/virtfs/direntry.cpp')
-rw-r--r--src/fs/virtfs/direntry.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/virtfs/direntry.cpp b/src/fs/virtfs/direntry.cpp
index 1ce81b97b..c178d4c88 100644
--- a/src/fs/virtfs/direntry.cpp
+++ b/src/fs/virtfs/direntry.cpp
@@ -28,9 +28,11 @@ namespace VirtFs
DirEntry::DirEntry(const std::string &userDir0,
const std::string &rootDir,
const std::string &subDir0,
+ const std::string &rootSubDir0,
FsFuncs *restrict const funcs0) :
FsEntry(FsEntryType::Dir, funcs0),
- userDir(userDir0)
+ userDir(userDir0),
+ rootSubDir(rootSubDir0)
{
root = rootDir;
subDir = subDir0;