int op_open(const char *path, struct fuse_file_info *fi) { DEBUG("open"); fi->fh = inode_get_idx_by_path(path); DEBUG("%s is inode %d", path, fi->fh); return 0; }
int inode_get_by_path(const char *path, struct ext4_inode *inode) { return inode_get_by_number(inode_get_idx_by_path(path), inode); }