diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-06-22 14:28:52 -0500 |
---|---|---|
committer | Eric Sandeen <sandeen@sandeen.net> | 2022-06-22 14:28:52 -0500 |
commit | d539f7135de7c05cdbfe39d570d2c417dc5fc642 (patch) | |
tree | 9644ab868f6c56cf6b79cdda55e2928935198ef9 | |
parent | 3ce2772ef7f9cd65bd2a343aadf027f3a1306bfa (diff) | |
download | xfsprogs-dev-d539f7135de7c05cdbfe39d570d2c417dc5fc642.tar.gz |
xfs: convert buf_cancel_table allocation to kmalloc_array
Source kernel commit: 910bbdf2f4d7df46781bc9b723048f5ebed3d0d7
While we're messing around with how recovery allocates and frees the
buffer cancellation table, convert the allocation to use kmalloc_array
instead of the old kmem_alloc APIs, and make it handle a null return,
even though that's not likely.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
0 files changed, 0 insertions, 0 deletions