From b97e003f422ad719016644fea22e9439ad3fe722 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sat, 1 May 2010 18:56:45 +0000 Subject: [PATCH] Search beyond the first 1/8th of inodes. Submitted by: jeff --- lib/libufs/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libufs/cgroup.c b/lib/libufs/cgroup.c index b0cb4a7d63db..8ab33f7c7c9f 100644 --- a/lib/libufs/cgroup.c +++ b/lib/libufs/cgroup.c @@ -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);