[XFS] remove i_gen from incore inode
authorDave Chinner <david@fromorbit.com>
Fri, 28 Nov 2008 03:23:37 +0000 (14:23 +1100)
committerNiv Sardi <xaiki@sgi.com>
Mon, 1 Dec 2008 00:37:10 +0000 (11:37 +1100)
commit26c5295135d10fc90cbf160adfda392d91f58279
tree783ec22542fc70bd2bcab6c111205dc62b214e71
parent207fcfad58482c7c9f92939a1f6df9f7e8873a34
[XFS] remove i_gen from incore inode

i_gen is incremented in directory operations when the
directory is changed. It is never read or otherwise used
so it should be removed to help reduce the size of the
struct xfs_inode.

The patch also removes a duplicate logging of the directory
inode core. We only need to do this once per transaction
so kill the one associated with the i_gen increment.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
fs/xfs/xfs_inode.h
fs/xfs/xfs_rename.c
fs/xfs/xfs_vnodeops.c