]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: refactor xfs_difree() inobt bits into xfs_difree_inobt() helper
authorBrian Foster <bfoster@redhat.com>
Tue, 20 May 2014 21:57:15 +0000 (07:57 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 20 May 2014 21:57:15 +0000 (07:57 +1000)
commiteb9a297a8a18b4b6f54641469ff8050e4a05c563
tree902f172a217e6fc53a568b7ba74e3789afdfbdac
parent88fc73063c110659063d4998a028072c90dd4087
xfs: refactor xfs_difree() inobt bits into xfs_difree_inobt() helper

Refactor xfs_difree() in preparation for the finobt. xfs_difree()
performs the validity checks against the ag and reads the agi
header. The work of physically updating the inode allocation btree
is pushed down into the new xfs_difree_inobt() helper.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_ialloc.c