xfs: take inode version into account in XFS_LITINO
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Mar 2013 12:30:36 +0000 (23:30 +1100)
committerBen Myers <bpm@sgi.com>
Thu, 14 Mar 2013 21:19:14 +0000 (16:19 -0500)
commit56cea2d088811b8cf7d2893e29bcf369a912de69
treeab131c69db53bb17879d9efada9534d17e54cc57
parentc163f9a1760229a95d04e37b332de7d5c1c225cd
xfs: take inode version into account in XFS_LITINO

Add a version argument to XFS_LITINO so that it can return different values
depending on the inode version.  This is required for the upcoming v3 inodes
with a larger fixed layout dinode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_attr_leaf.c
fs/xfs/xfs_bmap.c
fs/xfs/xfs_dinode.h
fs/xfs/xfs_inode.h
fs/xfs/xfs_vnodeops.c