| 1315 | LOG_INFO(VALUE(total_read_cnt), VALUE(total_write_cnt)); |
| 1316 | } |
| 1317 | photon::fs::IFile *open(const char *path, int flags, mode_t mode) override { |
| 1318 | ext2_file_t file = do_ext2fs_open_file(fs, path, flags, mode); |
| 1319 | if (!file) { |
| 1320 | return nullptr; |
| 1321 | } |
| 1322 | return new ExtFile(file, flags, this); |
| 1323 | } |
| 1324 | photon::fs::IFile *open(const char *path, int flags) override { |
| 1325 | return open(path, flags, 0666); |
| 1326 | } |