xfs: spilt xfs_dialloc() into 2 functions
authorDave Chinner <dchinner@redhat.com>
Wed, 9 Dec 2020 18:05:16 +0000 (10:05 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 12 Dec 2020 18:48:25 +0000 (10:48 -0800)
commit8d822dc38ad781b1bfa5c03227da80dbd87e9959
tree1f0b1258241bbd07d19eaa546e126b149f7e89b4
parentf3bf6e0f1196c69a7b0412521596cd1cc7622a82
xfs: spilt xfs_dialloc() into 2 functions

This patch explicitly separates free inode chunk allocation and
inode allocation into two individual high level operations.

Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_ialloc.h
fs/xfs/xfs_inode.c