xfs: refactor accounting updates out of xfs_bmap_btalloc
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 25 Jan 2018 21:58:13 +0000 (13:58 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 29 Jan 2018 15:27:23 +0000 (07:27 -0800)
commit751f3767c245f9adf4f0a4f8f04aae9ae1d675a0
tree7ea95df6396a361c58182ee632ed22055c2d5a47
parent22431bf3dfbf44d7356933776eb486a6a01dea6f
xfs: refactor accounting updates out of xfs_bmap_btalloc

Move all the inode and quota accounting updates out of xfs_bmap_btalloc
in preparation for fixing some quota accounting problems with copy on
write.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_bmap.c