| 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.h" | 5 #include "nacl_io/mount.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "nacl_io/mount_node.h" | 11 #include "nacl_io/mount_node.h" |
| 12 #include "nacl_io/mount_node_dir.h" | 12 #include "nacl_io/mount_node_dir.h" |
| 13 #include "nacl_io/mount_node_mem.h" | 13 #include "nacl_io/mount_node_mem.h" |
| 14 #include "nacl_io/osstat.h" | 14 #include "nacl_io/osstat.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 node->stat_.st_dev = dev_; | 57 node->stat_.st_dev = dev_; |
| 58 } | 58 } |
| 59 | 59 |
| 60 void Mount::OnNodeDestroyed(MountNode* node) { | 60 void Mount::OnNodeDestroyed(MountNode* node) { |
| 61 if (node->stat_.st_ino) | 61 if (node->stat_.st_ino) |
| 62 inode_pool_.Release(node->stat_.st_ino); | 62 inode_pool_.Release(node->stat_.st_ino); |
| 63 } | 63 } |
| 64 | 64 |
| 65 } // namespace nacl_io | 65 } // namespace nacl_io |
| 66 | 66 |
| OLD | NEW |