Fixing lock type in VFS.

This commit is contained in:
Ben Vanik
2015-07-15 22:07:46 -07:00
parent 6cf29b969d
commit 91ae97e558
4 changed files with 7 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ Device::Device(const std::string& mount_path) : mount_path_(mount_path) {}
Device::~Device() = default;
void Device::Dump(StringBuffer* string_buffer) {
std::lock_guard<xe::mutex> lock(mutex_);
std::lock_guard<xe::recursive_mutex> lock(mutex_);
root_entry_->Dump(string_buffer, 0);
}