Skip to contentSkip to conversation

PARTIAL TAKE 968563 - dinode endianess annotations

DISCUSSION David Chinner 1 participant 1 message Aug 23, 2007

lore
Share & tools
lore
#0 lore raw

dinode endianess annotations

Biggest bit is duplicating the dinode structure so we have one annoted for native endianess and one for disk endianess. The other significant change is that xfs_xlate_dinode_core is split into one helper per direction to allow for proper annotations, everything else is trivial.

As a sidenode splitting out the incore dinode means we can move it into xfs_inode.h in a later patch and severly improving on the include hell in xfs.

Date:  Thu Aug 23 21:53:01 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  [email protected]

The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb

Modid: xfs-linux-melb:xfs-kern:29476a
fs/xfs/xfsidbg.c - 1.321 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfsidbg.c.diff?r1=text&tr1=1.321&r2=text&tr2=1.320&f=h
- add endian notations for the dinode.

fs/xfs/xfs_ialloc.c - 1.195 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_ialloc.c.diff?r1=text&tr1=1.195&r2=text&tr2=1.194&f=h
- add endian notations for the dinode.

fs/xfs/xfs_itable.c - 1.153 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_itable.c.diff?r1=text&tr1=1.153&r2=text&tr2=1.152&f=h
- add endian notations for the dinode.

fs/xfs/xfs_log_recover.c - 1.321 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log_recover.c.diff?r1=text&tr1=1.321&r2=text&tr2=1.320&f=h
- add endian notations for the dinode.

fs/xfs/xfs_inode.c - 1.471 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode.c.diff?r1=text&tr1=1.471&r2=text&tr2=1.470&f=h
- add endian notations for the dinode.

fs/xfs/xfs_inode.h - 1.224 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode.h.diff?r1=text&tr1=1.224&r2=text&tr2=1.223&f=h
- add endian notations for the dinode.

fs/xfs/xfs_dinode.h - 1.82 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_dinode.h.diff?r1=text&tr1=1.82&r2=text&tr2=1.81&f=h
- add endian notations for the dinode.

fs/xfs/linux-2.6/xfs_ksyms.c - 1.61 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_ksyms.c.diff?r1=text&tr1=1.61&r2=text&tr2=1.60&f=h
- add endian notations for the dinode.

fs/xfs/dmapi/xfs_dm.c - 1.42 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/dmapi/xfs_dm.c.diff?r1=text&tr1=1.42&r2=text&tr2=1.41&f=h
- add endian notations for the dinode.