diff options
author | Dave Chinner <david@fromorbit.com> | 2009-08-31 20:56:51 -0300 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-09-01 12:44:27 -0500 |
commit | 85c0b2ab5e69ca6133380ead1c50e0840d136b39 (patch) | |
tree | 915fe86af550398d131071456c772053917e298c /fs/xfs/xfs_ialloc.h | |
parent | 1da1daed813c534263a87ffc36d5b775e65231ad (diff) | |
download | linux-85c0b2ab5e69ca6133380ead1c50e0840d136b39.tar.gz linux-85c0b2ab5e69ca6133380ead1c50e0840d136b39.tar.bz2 linux-85c0b2ab5e69ca6133380ead1c50e0840d136b39.zip |
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_ialloc.h')
0 files changed, 0 insertions, 0 deletions