[XFS] embededd struct xfs_imap into xfs_inode
authorChristoph Hellwig <hch@lst.de>
Fri, 28 Nov 2008 03:23:41 +0000 (14:23 +1100)
committerNiv Sardi <xaiki@sgi.com>
Mon, 1 Dec 2008 00:38:08 +0000 (11:38 +1100)
commit92bfc6e7c4eabbbd15e7d6d49123b296d05dcfd1
tree4b409ecbc4b0704189b05989fae0a423bb557efd
parent94e1b69d1abd108d306e926c3012ec89e481c0da
[XFS] embededd struct xfs_imap into xfs_inode

Most uses of struct xfs_imap are to map and inode to a buffer.  To avoid
copying around the inode location information we should just embedd a
strcut xfs_imap into the xfs_inode.  To make sure it doesn't bloat an
inode the im_len is changed to a ushort, which is fine as that's what
the users exepect anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_imap.h [deleted file]
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_itable.c
fs/xfs/xfs_log_recover.c