summaryrefslogtreecommitdiff
path: root/fs/cifs/nterr.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2014-04-24 10:00:52 +0400
committerDave Chinner <david@fromorbit.com>2014-04-24 10:00:52 +0400
commit9d43b180af67cccd4bd1342f7f54f8131515b0a1 (patch)
treef4bb0ee658249dc78c5465a850e53add0384b236 /fs/cifs/nterr.c
parentaafc3c24652924ea951d215d04a3f42e832e9d7d (diff)
downloadlinux-9d43b180af67cccd4bd1342f7f54f8131515b0a1.tar.xz
xfs: update inode allocation/free transaction reservations for finobt
Create the xfs_calc_finobt_res() helper to calculate the finobt log reservation for inode allocation and free. Update XFS_IALLOC_SPACE_RES() to reserve blocks for the additional finobt insertion on inode allocation. Create XFS_IFREE_SPACE_RES() to reserve blocks for the potential finobt record insertion on inode free (i.e., if an inode chunk was previously fully allocated). 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/cifs/nterr.c')
0 files changed, 0 insertions, 0 deletions