aboutsummaryrefslogtreecommitdiff
path: root/lib/libufs/cgroup.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2010-05-01 18:56:45 +0000
committerEd Maste <emaste@FreeBSD.org>2010-05-01 18:56:45 +0000
commitb97e003f422ad719016644fea22e9439ad3fe722 (patch)
treebe70ea87c2b3f78d4bc559d2fc13df9ee6bbefc7 /lib/libufs/cgroup.c
parenta83baab6e44131d87926395d6b006d32bc4f704c (diff)
downloadsrc-b97e003f422ad719016644fea22e9439ad3fe722.tar.gz
src-b97e003f422ad719016644fea22e9439ad3fe722.zip
Search beyond the first 1/8th of inodes.
Submitted by: jeff
Notes
Notes: svn path=/head/; revision=207476
Diffstat (limited to 'lib/libufs/cgroup.c')
-rw-r--r--lib/libufs/cgroup.c2
1 files changed, 1 insertions, 1 deletions
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);