From owner-svn-src-head@FreeBSD.ORG Thu Jul 25 16:04:56 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 77A93A9C; Thu, 25 Jul 2013 16:04:56 +0000 (UTC) (envelope-from pfg@FreeBSD.org) 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 658A02120; Thu, 25 Jul 2013 16:04:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6PG4upF087727; Thu, 25 Jul 2013 16:04:56 GMT (envelope-from pfg@svn.freebsd.org) Received: (from pfg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6PG4uFJ087726; Thu, 25 Jul 2013 16:04:56 GMT (envelope-from pfg@svn.freebsd.org) Message-Id: <201307251604.r6PG4uFJ087726@svn.freebsd.org> From: "Pedro F. Giffuni" Date: Thu, 25 Jul 2013 16:04:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253652 - head/sys/fs/ext2fs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jul 2013 16:04:56 -0000 Author: pfg Date: Thu Jul 25 16:04:55 2013 New Revision: 253652 URL: http://svnweb.freebsd.org/changeset/base/253652 Log: ext2fs: Drop a check that wan't supposed to be in r253651. MFC after: 1 month Modified: head/sys/fs/ext2fs/ext2_lookup.c Modified: head/sys/fs/ext2fs/ext2_lookup.c ============================================================================== --- head/sys/fs/ext2fs/ext2_lookup.c Thu Jul 25 15:34:20 2013 (r253651) +++ head/sys/fs/ext2fs/ext2_lookup.c Thu Jul 25 16:04:55 2013 (r253652) @@ -170,10 +170,7 @@ ext2_readdir(struct vop_readdir_args *ap * size is a little larger than DIRBLKSIZ to allow for expansion * of directory entries, but some callers just use 512. */ - if (uio->uio_offset < 0) - offset = startoffset = uio->uio_offset + DIRBLKSIZ; - else - offset = startoffset = uio->uio_offset; + offset = startoffset = uio->uio_offset; startresid = uio->uio_resid; error = 0; while (error == 0 && uio->uio_resid > 0 &&