]> git.karo-electronics.de Git - mv-sheeva.git/commit
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)
commit339a5f5dd9d3ac3d68a594d81507e1eab77ed223
tree53419a7d43830e399ca7eaaa15488d68423bbd80
parent8a9c9980f24f6d86e0ec0150ed35fba45d0c9f88
xfs: make xfs_inode_item_size idempotent

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>
fs/xfs/xfs_inode_item.c