diff options
author | 2017-10-17 14:16:25 -0700 | |
---|---|---|
committer | 2017-10-26 15:38:21 -0700 | |
commit | ca1862b0838604aa048120d87ebbf53cf7c8c8bd (patch) | |
tree | 1433285ba158e9dd5054c8c451d914a148d881a5 /fs/xfs/xfs_error.c | |
parent | xfs: refactor xfs_bmap_add_extent_delay_real (diff) | |
download | linux-rng-ca1862b0838604aa048120d87ebbf53cf7c8c8bd.tar.xz linux-rng-ca1862b0838604aa048120d87ebbf53cf7c8c8bd.zip |
xfs: refactor delalloc accounting in xfs_bmap_add_extent_delay_real
Account for all changes to the delalloc reservation in da_new, and use a
single call xfs_mod_fdblocks to reserve/free blocks, including always
checking for an error.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_error.c')
0 files changed, 0 insertions, 0 deletions