Search beyond the first 1/8th of inodes.

Submitted by:	jeff
This commit is contained in:
Ed Maste 2010-05-01 18:56:45 +00:00
parent a83baab6e4
commit b97e003f42
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207476

View File

@ -145,7 +145,7 @@ cgialloc(struct uufsd *disk)
fs = &disk->d_fs;
cgp = &disk->d_cg;
inosused = cg_inosused(cgp);
for (ino = 0; ino < fs->fs_ipg / NBBY; ino++)
for (ino = 0; ino < fs->fs_ipg; ino++)
if (isclr(inosused, ino))
goto gotit;
return (0);