From: Dave Chinner Date: Mon, 31 Aug 2009 23:56:51 +0000 (-0300) Subject: xfs: factor out inode initialisation X-Git-Tag: v2.6.32-rc1~661^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85c0b2ab5e69ca6133380ead1c50e0840d136b39;p=pandora-kernel.git xfs: factor out inode initialisation Factor out code to initialize new inode clusters into a function of it's own. This keeps xfs_ialloc_ag_alloc smaller and better structured and enables a future inode cluster initialization transaction. Also initialize the agno variable earlier in xfs_ialloc_ag_alloc to avoid repeated byte swaps. [hch: The original patch is from Dave from his unpublished inode create transaction patch series, with some modifcations by me to apply stand-alone] Signed-off-by: Dave Chinner Signed-off-by: Christoph Hellwig Reviewed-by: Alex Elder Signed-off-by: Felix Blyakher --- Reading git-diff-tree failed