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 &&
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to