diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2010-05-01 18:56:45 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2010-05-01 18:56:45 +0000 |
| commit | b97e003f422ad719016644fea22e9439ad3fe722 (patch) | |
| tree | be70ea87c2b3f78d4bc559d2fc13df9ee6bbefc7 /lib/libufs | |
| parent | a83baab6e44131d87926395d6b006d32bc4f704c (diff) | |
Notes
Diffstat (limited to 'lib/libufs')
| -rw-r--r-- | lib/libufs/cgroup.c | 2 |
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); |
