xfs: create individual inode alloc. helper
authorBrian Foster <bfoster@redhat.com>
Thu, 28 May 2015 22:50:21 +0000 (08:50 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 28 May 2015 22:50:21 +0000 (08:50 +1000)
commitd4cc540b08e95386777b7e644fb384c2adc0da32
treec725bd18abe0adf09509154c3efc4635b81540af
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
xfs: create individual inode alloc. helper

Inode allocation from sparse inode records must filter the ir_free mask
against ir_holemask.  In preparation for this requirement, create a
helper to allocate an individual inode from an inode record.

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/libxfs/xfs_ialloc.c