xfs: refactor xfs_difree() inobt bits into xfs_difree_inobt() helper
authorBrian Foster <bfoster@redhat.com>
Thu, 24 Apr 2014 06:00:53 +0000 (16:00 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 24 Apr 2014 06:00:53 +0000 (16:00 +1000)
commit2b64ee5cdc106704b5c0f8954a52aa598eee25eb
tree680de9fa15c6429682d97ca0b1727194d7040d9f
parent6dd8638e4e8764e0d6557fc62840a815a99c136d
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>
fs/xfs/xfs_ialloc.c
This page took 0.067885 seconds and 5 git commands to generate.