summaryrefslogtreecommitdiff
path: root/usr/src/uts/common
diff options
context:
space:
mode:
authormaybee <none@none>2005-11-04 13:49:46 -0800
committermaybee <none@none>2005-11-04 13:49:46 -0800
commit0aa600e37417aeb6268546413d7ce66f7c85c55c (patch)
tree0533b8db6ed9af54d1abda959e8bf3c7b321bc2a /usr/src/uts/common
parentd05c7466d6c3e4f66aeda1461a2c4d4e70df344c (diff)
downloadillumos-joyent-0aa600e37417aeb6268546413d7ce66f7c85c55c.tar.gz
6346183 fix telldir()/seekdir() for gfs
Diffstat (limited to 'usr/src/uts/common')
-rw-r--r--usr/src/uts/common/fs/gfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/gfs.c b/usr/src/uts/common/fs/gfs.c
index 6e1ea2e189..dd91b112a9 100644
--- a/usr/src/uts/common/fs/gfs.c
+++ b/usr/src/uts/common/fs/gfs.c
@@ -220,7 +220,7 @@ gfs_readdir_emit_int(gfs_readdir_state_t *st, uio_t *uiop, offset_t off,
return (-1);
}
- st->grd_dirent->d_off = off;
+ st->grd_dirent->d_off = next;
st->grd_dirent->d_reclen = (ushort_t)reclen;
if (uiomove((caddr_t)st->grd_dirent, reclen, UIO_READ, uiop))