| Index: native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc
|
| diff --git a/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc b/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc
|
| index 58f5d8b61a5aa6638b574e5bed5be404d03e5325..b174957a72e78af5d251bd691d64eb1d57111a36 100644
|
| --- a/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc
|
| +++ b/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc
|
| @@ -2,15 +2,14 @@
|
| * Use of this source code is governed by a BSD-style license that can be
|
| * found in the LICENSE file.
|
| */
|
| +#include "nacl_mounts/kernel_handle.h"
|
|
|
| #include <fcntl.h>
|
| #include <pthread.h>
|
|
|
| -#include "nacl_mounts/kernel_handle.h"
|
| #include "nacl_mounts/mount.h"
|
| #include "nacl_mounts/mount_node.h"
|
|
|
| -
|
| // It is only legal to construct a handle while the kernel lock is held.
|
| KernelHandle::KernelHandle(Mount* mnt, MountNode* node, int mode)
|
| : mount_(mnt),
|
| @@ -19,4 +18,3 @@ KernelHandle::KernelHandle(Mount* mnt, MountNode* node, int mode)
|
| offs_(0) {
|
| if (mode & O_APPEND) offs_ = node->GetSize();
|
| }
|
| -
|
|
|