summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_ialloc.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-12-18 11:24:38 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-12-18 11:29:45 -0800
commita383e3368a7608d9d408b15990e7f740f3c89ae1 (patch)
tree677847a30fc56388ebad1a25d07551189b8c9d52 /fs/xfs/libxfs/xfs_ialloc.c
parent30ba99d847caabb80b6e405bf179419cd7d35d32 (diff)
xfs: refactor agfl length computation function
Refactor xfs_alloc_min_freelist to accept a NULL @pag argument, in which case it returns the largest possible minimum length. This will be used in an upcoming patch to compute the length of the AGFL at mkfs time. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc.c')
0 files changed, 0 insertions, 0 deletions