mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 13:41:08 +01:00
Search beyond the first 1/8th of inodes.
Submitted by: jeff
This commit is contained in:
parent
a83baab6e4
commit
b97e003f42
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207476
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user