commit | ca1862b0838604aa048120d87ebbf53cf7c8c8bd | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Oct 17 14:16:25 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Oct 26 15:38:21 2017 -0700 |
tree | 1433285ba158e9dd5054c8c451d914a148d881a5 | |
parent | 4dcb8869871cc102b9431ae78b40bfc39087b90c [diff] |
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>