Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc

Issue 10829027: [NaCl SDK] Add nacl_mounts to NaCl SDK build. Experimental for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for windows Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
-

Powered by Google App Engine
This is Rietveld 408576698