xfs: free xfs_attrd_log_items correctly
authorDarrick J. Wong <djwong@kernel.org>
Fri, 20 May 2022 04:42:49 +0000 (14:42 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 20 May 2022 04:42:49 +0000 (14:42 +1000)
commit2fe3ffcf5592f24a9f9131a91727673d19f2b2d9
tree1efab77c422a94cc38c26667eada202910a89501
parent25b1e9dc32299b98257835910f8e532d805b824f
xfs: free xfs_attrd_log_items correctly

Technically speaking, objects allocated out of a specific slab cache are
supposed to be freed to that slab cache.  The popular slab backends will
take care of this for us, but SLOB famously doesn't.  Fix this, even if
slob + xfs are not that common of a combination.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_attr_item.c