Removed errors and added more alloc functions for blocks and inodes