diff options
author | Brian Foster <bfoster@redhat.com> | 2014-04-24 16:00:53 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-24 16:00:53 +1000 |
commit | 0aa0a756ec255cfc8b733fe0d8993c1758b1240c (patch) | |
tree | c9d25258ab96046dd3e594cb4d6ded335878c2da /fs/mount.h | |
parent | 9d43b180af67cccd4bd1342f7f54f8131515b0a1 (diff) | |
download | linux-stable-0aa0a756ec255cfc8b733fe0d8993c1758b1240c.tar.gz linux-stable-0aa0a756ec255cfc8b733fe0d8993c1758b1240c.tar.bz2 linux-stable-0aa0a756ec255cfc8b733fe0d8993c1758b1240c.zip |
xfs: insert newly allocated inode chunks into the finobt
A newly allocated inode chunk, by definition, has at least one
free inode, so a record is always inserted into the finobt.
Create the xfs_inobt_insert() helper from existing code to insert
a record in an inobt based on the provided BTNUM. Update
xfs_ialloc_ag_alloc() to invoke the helper for the existing
XFS_BTNUM_INO tree and XFS_BTNUM_FINO tree, if enabled.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions