public static INode Create(VFSCore vfs, UInt32 index, UInt32 flags, UInt32 owner)
{
if (index >= vfs.GetSuperBlock().data.inodeCapacity)
{
throw new Exception("无效 inode 编号");
}
_INode data = new _INode(flags, owner);
INode inode = new INode(vfs, data, index);
inode.Save();
inodeInstances[index] = inode;
return inode;
}