From owner-svn-src-all@FreeBSD.ORG Sun Mar 9 04:16:00 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 998B817D; Sun, 9 Mar 2014 04:16:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 86523E47; Sun, 9 Mar 2014 04:16:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s294G0rr038507; Sun, 9 Mar 2014 04:16:00 GMT (envelope-from pfg@svn.freebsd.org) Received: (from pfg@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s294G0fg038505; Sun, 9 Mar 2014 04:16:00 GMT (envelope-from pfg@svn.freebsd.org) Message-Id: <201403090416.s294G0fg038505@svn.freebsd.org> From: "Pedro F. Giffuni" Date: Sun, 9 Mar 2014 04:16:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r262943 - stable/10/sys/fs/ext2fs X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 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: Sun, 09 Mar 2014 04:16:00 -0000 Author: pfg Date: Sun Mar 9 04:16:00 2014 New Revision: 262943 URL: http://svnweb.freebsd.org/changeset/base/262943 Log: MFC r262869: ext2fs: Fix a bug when sorting htree entries. This a typo introduced when bringing the original code from NetBSD. Reported by: Mike Ma Modified: stable/10/sys/fs/ext2fs/ext2_htree.c Modified: stable/10/sys/fs/ext2fs/ext2_htree.c ============================================================================== --- stable/10/sys/fs/ext2fs/ext2_htree.c Sun Mar 9 03:49:06 2014 (r262942) +++ stable/10/sys/fs/ext2fs/ext2_htree.c Sun Mar 9 04:16:00 2014 (r262943) @@ -471,7 +471,7 @@ ext2_htree_cmp_sort_entry(const void *e1 if (entry1->h_hash < entry2->h_hash) return (-1); - if (entry2->h_hash > entry2->h_hash) + if (entry1->h_hash > entry2->h_hash) return (1); return (0); }