From owner-svn-src-all@FreeBSD.ORG Sat May 1 18:56:46 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45AE4106564A; Sat, 1 May 2010 18:56:46 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [69.147.83.44]) by mx1.freebsd.org (Postfix) with ESMTP id 35BF48FC20; Sat, 1 May 2010 18:56:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o41Iujff055887; Sat, 1 May 2010 18:56:45 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o41Iuj6o055885; Sat, 1 May 2010 18:56:45 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201005011856.o41Iuj6o055885@svn.freebsd.org> From: Ed Maste Date: Sat, 1 May 2010 18:56:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207476 - head/lib/libufs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2010 18:56:46 -0000 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);