xfs: Process allocated extent in a separate function
authorChandan Babu R <chandanrlinux@gmail.com>
Sat, 23 Jan 2021 00:48:17 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:54:49 +0000 (16:54 -0800)
commit07c72e556299a7fea448912b1330b9ebfd418662
treee3381a986d3d5f8e10184612f243038beae076f6
parent0961fddfdd3f8ccd6302af2e7718abbaf18c9fff
xfs: Process allocated extent in a separate function

This commit moves over the code in xfs_bmap_btalloc() which is
responsible for processing an allocated extent to a new function. Apart
from xfs_bmap_btalloc(), the new function will be invoked by another
function introduced in a future commit.

Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_bmap.c