Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2013 16:04:56 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253652 - head/sys/fs/ext2fs
Message-ID:  <201307251604.r6PG4uFJ087726@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 &&



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307251604.r6PG4uFJ087726>