All of the XFS getdents() routines were "shuffling" the d_off
field, as is normally done on vnodes-based implementations.
On Linux, the filldir() 'put' routine does the d_off shuffling,
so things were being double-shuffled.
Modid: 2.3.99pre2-xfs:slinx:58446a
Date: Tue Apr 18 13:53:43 PDT 2000
Workarea: tiki.americas.sgi.com:/data/clink/io/jtk/work-linux2.3-99
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.3.99pre2-xfs
linux/fs/xfs/linux/xfs_to_linux.h - 1.12
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_to_linux.h.diff?r1=text&tr1=1.12&r2=text&tr2=1.11&f=h
linux/fs/xfs/pseudo-inc/sys/uio.h - 1.8
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/pseudo-inc/sys/uio.h.diff?r1=text&tr1=1.8&r2=text&tr2=1.7&f=h
- Change local XFS ia32_* to linux_*.
linux/fs/xfs/xfs_dir.c - 1.124
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_dir.c.diff?r1=text&tr1=1.124&r2=text&tr2=1.123&f=h
- Change XFS getdents routines to not "shuffle" the d_off
field, as filldir() will do so for us.
linux/fs/xfs/xfs_dir2.c - 1.17
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_dir2.c.diff?r1=text&tr1=1.17&r2=text&tr2=1.16&f=h
- Change local XFS ia32_* to linux_*.
linux/fs/xfs/xfs_dir2_block.c - 1.11
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_dir2_block.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.10&f=h
linux/fs/xfs/xfs_dir2_leaf.c - 1.12
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_dir2_leaf.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.11&f=h
linux/fs/xfs/xfs_dir2_sf.c - 1.15
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_dir2_sf.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.14&f=h
- Change XFS getdents routines to not "shuffle" the d_off
field, as filldir() will do so for us.
linux/fs/xfs/xfs_dir_leaf.c - 1.83
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_dir_leaf.c.diff?r1=text&tr1=1.83&r2=text&tr2=1.82&f=h
- Change XFS getdents routines to not "shuffle" the d_off
field, as filldir() will do so for us.
Change local XFS ia32_* to linux_*.
linux/fs/xfs/xfs_dir_leaf.h - 1.27
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_dir_leaf.h.diff?r1=text&tr1=1.27&r2=text&tr2=1.26&f=h
- Change "#ifdef __linux_" to "__BYTE_ORDER == __LITTLE_ENDIAN
for the v1 directory 'cookie' definition.
|