diff options
author | pfg <pfg@FreeBSD.org> | 2013-07-25 16:04:55 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-07-25 16:04:55 +0000 |
commit | b4c061ba1137ccc9e851843568b78f68143be9ae (patch) | |
tree | 78f0ee6e03b62b3a256058d404560fe52266fb5a /sys/fs/ext2fs | |
parent | 3cce3ff56878674874392576e3759685b4172777 (diff) | |
download | FreeBSD-src-b4c061ba1137ccc9e851843568b78f68143be9ae.zip FreeBSD-src-b4c061ba1137ccc9e851843568b78f68143be9ae.tar.gz |
ext2fs: Drop a check that wan't supposed to be in r253651.
MFC after: 1 month
Diffstat (limited to 'sys/fs/ext2fs')
-rw-r--r-- | sys/fs/ext2fs/ext2_lookup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/fs/ext2fs/ext2_lookup.c b/sys/fs/ext2fs/ext2_lookup.c index 31d416f..71f1fbe 100644 --- a/sys/fs/ext2fs/ext2_lookup.c +++ b/sys/fs/ext2fs/ext2_lookup.c @@ -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 && |