xfs: make xfs_inode_item_size idempotent
authorChristoph Hellwig <hch@infradead.org>
Wed, 29 Feb 2012 09:53:53 +0000 (09:53 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 13 Mar 2012 22:05:08 +0000 (17:05 -0500)
Move all code messing with the inode log item flags into xfs_inode_item_format
to make sure xfs_inode_item_size really only calculates the the number of
vectors, but doesn't modify any state of the inode item.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>

No differences found