summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_itable.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2009-09-01 03:56:51 +0400
committerFelix Blyakher <felixb@sgi.com>2009-09-01 21:44:27 +0400
commit85c0b2ab5e69ca6133380ead1c50e0840d136b39 (patch)
tree915fe86af550398d131071456c772053917e298c /fs/xfs/xfs_itable.c
parent1da1daed813c534263a87ffc36d5b775e65231ad (diff)
downloadlinux-85c0b2ab5e69ca6133380ead1c50e0840d136b39.tar.xz
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 <david@fromorbit.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Elder <aelder@sgi.com> Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_itable.c')
0 files changed, 0 insertions, 0 deletions