| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 */ | 4 |
| 5 #include "nacl_io/mount_node.h" | 5 #include "nacl_io/mount_node.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 #include <sys/stat.h> | 10 #include <sys/stat.h> |
| 11 | 11 |
| 12 #include <algorithm> | 12 #include <algorithm> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 out_node->reset(NULL); | 142 out_node->reset(NULL); |
| 143 return ENOTDIR; | 143 return ENOTDIR; |
| 144 } | 144 } |
| 145 | 145 |
| 146 int MountNode::ChildCount() { return 0; } | 146 int MountNode::ChildCount() { return 0; } |
| 147 | 147 |
| 148 void MountNode::Link() { stat_.st_nlink++; } | 148 void MountNode::Link() { stat_.st_nlink++; } |
| 149 | 149 |
| 150 void MountNode::Unlink() { stat_.st_nlink--; } | 150 void MountNode::Unlink() { stat_.st_nlink--; } |
| 151 | 151 |
| OLD | NEW |