If obtain_prepared_file fails for any reason, the last fd in our hugetlb segment
table will be 0 when the error clean up starts because obtain_prepared_file
does not write to the segment structure in error cases. Because the cleanup
for loop starts at the segment where obtain_prepared_file failed
On Thu, 08 Mar 2012, Andrew Hastings wrote:
> Add missing man pages for ld.hugetlbfs.1, hugetlbfs_find_path.3,
> hugetlbfs_find_path_for_size.3, gethugepagesize.3, hugetlbfs_test_path.3,
> hugetlbfs_unlinked_fd.3, and hugetlbfs_unlinked_fd_for_size.3. Add cross
> references to the new man pages.