xfs: move on-disk inode allocation out of xfs_ialloc()
authorDave Chinner <dchinner@redhat.com>
Wed, 9 Dec 2020 18:05:15 +0000 (10:05 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 12 Dec 2020 18:48:24 +0000 (10:48 -0800)
commit1abcf261016e12246e1f0d2dada9c5c851a9ceb7
treeb8214f085c49b4395e97b0d6158d096a6577df8c
parentaececc9f8dec92a25c84a3378021636ce58d72dc
xfs: move on-disk inode allocation out of xfs_ialloc()

So xfs_ialloc() will only address in-core inode allocation then,
Also, rename xfs_ialloc() to xfs_dir_ialloc_init() in order to
keep everything in xfs_inode.c under the same namespace.

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/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_qm.c