svn commit: r207476 - head/lib/libufs

Ed Maste emaste at FreeBSD.org
Sat May 1 18:56:46 UTC 2010


Author: emaste
Date: Sat May  1 18:56:45 2010
New Revision: 207476
URL: http://svn.freebsd.org/changeset/base/207476

Log:
  Search beyond the first 1/8th of inodes.
  
  Submitted by:	jeff

Modified:
  head/lib/libufs/cgroup.c

Modified: head/lib/libufs/cgroup.c
==============================================================================
--- head/lib/libufs/cgroup.c	Sat May  1 18:34:50 2010	(r207475)
+++ head/lib/libufs/cgroup.c	Sat May  1 18:56:45 2010	(r207476)
@@ -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);


More information about the svn-src-head mailing list