| Index: native_client_sdk/src/libraries/nacl_io/mount_node.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node.h b/native_client_sdk/src/libraries/nacl_io/mount_node.h
|
| index fb0f14f2c5d177ee0919a2eadf09cfa12ab5b52a..749f348a0aa374e9e2f428c0f743fd7617882edb 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/mount_node.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/mount_node.h
|
| @@ -12,6 +12,7 @@
|
|
|
| #include "sdk_util/ref_object.h"
|
| #include "sdk_util/scoped_ref.h"
|
| +#include "sdk_util/simple_lock.h"
|
|
|
| struct dirent;
|
| struct stat;
|
| @@ -96,6 +97,7 @@ class MountNode : public RefObject {
|
|
|
| protected:
|
| struct stat stat_;
|
| + SimpleLock node_lock_;
|
|
|
| // We use a pointer directly to avoid cycles in the ref count.
|
| // TODO(noelallen) We should change this so it's unnecessary for the node
|
|
|