group/pintos/src/filesys/directory.c
/* Creates a directory with space for ENTRY_CNT entries in the
   given SECTOR.  Returns true if successful, false on failure. */
Creates a directory with space for ENTRY_CNT entries in the
given SECTOR.  Returns true if successful, false on failure.
Creates a directory with space for ENTRY_CNT entries in the given SECTOR . Returns true if successful false on failure .
bool
dir_create (block_sector_t sector, size_t entry_cnt)
{
  return inode_create_real (sector,
          entry_cnt * sizeof (struct dir_entry), true);
}
bool dir_create ( block_sector_t sector , size_t entry_cnt ) { return inode_create_real ( sector , entry_cnt * sizeof ( struct dir_entry ) , true ) ; }
Creates a directory with space for ENTRY_CNT entries in the
given SECTOR.
Creates a directory with space for ENTRY_CNT entries in the given SECTOR .