diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-10-31 10:32:54 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-11-06 12:36:13 -0800 |
commit | f68960a25addcdaeade111cde916bc8f57532d13 (patch) | |
tree | 22ffd6f82a3d6a094bd20fc3fe883f74e410a518 /lib/rbtree_test.c | |
parent | b81b8f7a85f4e720ba604bc502021f4a44d72945 (diff) |
xfs: fix uninitialized list head in struct xfs_refcount_recovery
We're supposed to initialize the list head of an object before adding it
to another list. Fix that, and stop using the kmem_{alloc,free} calls
from the Irix days.
Fixes: 174edb0e46e5 ("xfs: store in-progress CoW allocations in the refcount btree")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'lib/rbtree_test.c')
0 files changed, 0 insertions, 0 deletions