commit | fc59ca7ec2f9b1a673346c2452f57bbc6ab570d0 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Tue May 09 11:30:49 2023 +0200 |
committer | Carlos Maiolino <cem@kernel.org> | Wed May 10 15:02:25 2023 +0200 |
tree | 66d0b6ca51301bee9349602f90738308e63d0391 | |
parent | 36076dc9a1e8ae003256617c94ae9dacbd707047 [diff] |
xfs: try to idiot-proof the allocators Source kernel commit: 6de4b1ab470fe52351415217ac6dffddee571c45 In porting his development branch to 6.3-rc1, yours truly has repeatedly screwed up the args->pag being fed to the xfs_alloc_vextent* functions. Add some debugging assertions to test the preconditions required of the callers. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>